Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2705465imu; Sun, 6 Jan 2019 08:05:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN5vZQANKJsoDq9osaZaxZ3Z1cerKs+8MMA1/sfSuqt4pdl6zdgvu4hHT0X1W4ANelk0gBLS X-Received: by 2002:a17:902:a58a:: with SMTP id az10mr59057589plb.10.1546790718881; Sun, 06 Jan 2019 08:05:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546790718; cv=none; d=google.com; s=arc-20160816; b=efG1Z5ReQalNZGKg+qPmadtO9vj3HaXaCU+elK35FbzRoiDX/3FcAbseuWba0dhy2b 7CVbigs2aQtXalF7b1naS1B5HARquxJNzq+1FFAoKIlHcUzXgNb7NuKxEG29biQCYpVL uElbxyqmzFWGEXgs+/JRNU7RGLh/4rv+AGk+moJ1ziQrklN088ypOCksICfyKuF+RqId ADh+Uy3zI7PU6U9tXyjF6Ph5fGbGmcif3rrd7vXdpStj1NryUhE+XCxHlCZ+qfo0FIl2 hWjLH9swwaUIgs+7GyptlLOrJLUc73MfdiShzEdg5m2k81RyRd43Di6SL9QQ5jmYs9N7 k9nQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Yrg5+x9UeC4NEEh4HylGulXSzozmBviDbWgJ/+FX+pI=; b=0GF7OTNxC4AgbRiLAOQutmIurCpGTikr29Uk6fH+lmO7t3zXEgHB1qammpqDqHE3JF JvcIyCSsbfVMbCLnaE9b4eLslxinwP3yXiFNWQP029rAoerGrsZzutedpvRlECxq3BLF Y1Dkaf8y6OqTvdYq2+eRda5LaWfazLGhMvd8OQdiVFKGQuqstabRomDpuap91crCekU1 d6lNSvxLHsCPy5HKdOBjwtqAqNNwaHFox6VB5JgAzIYxn1qyaNvAIO92n+zTlGNHZI/f DVygyQ7Ar0q12H9mOsCJz7RwadrJx1Zy9/kMY+DJuIwza4Etz0OP9BfiOXXkXWZvDFeQ DV4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=cfFLla9s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si57221969pgq.207.2019.01.06.08.05.03; Sun, 06 Jan 2019 08:05:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=cfFLla9s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726453AbfAFQCi (ORCPT + 99 others); Sun, 6 Jan 2019 11:02:38 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:54848 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726341AbfAFQCe (ORCPT ); Sun, 6 Jan 2019 11:02:34 -0500 Received: from localhost.localdomain (unknown [96.44.9.229]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 73A51BB9; Sun, 6 Jan 2019 17:02:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1546790553; bh=OKkqu7e4MT/gRqFh+/z/f4161nrtHwosurjZQeO1mXg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cfFLla9sGKVrui+KvKU35uFFWtxhBxy6c72pNwNvZLoaTv1EVuzKwb8vpJQUPNX2o ZVeaKI+m4gQEZt0ng5WaM2NCwx8KIttrNC+s9Gt4KNfRR4VlgzyPGDDagn/kb4vdUG upxvShqhSyWiVRBkx994/otO3eFCaW3oweuN7EXk= From: Paul Elder To: laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com Cc: Paul Elder , b-liu@ti.com, stern@rowland.harvard.edu, rogerq@ti.com, balbi@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/6] usb: uvc: include videodev2.h in g_uvc.h Date: Sun, 6 Jan 2019 11:02:16 -0500 Message-Id: <20190106160221.4480-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190106160221.4480-1-paul.elder@ideasonboard.com> References: <20190106160221.4480-1-paul.elder@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V4L2_EVENT_PRIVATE_START is used in g_uvc.h but is defined in videodev2.h, which is not included and causes a compiler warning: linux/usb/g_uvc.h:15:28: error: ‘V4L2_EVENT_PRIVATE_START’ undeclared here (not in a function) #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) Include videodev2.h in g_uvc.h. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- No change from v3 No change from v2 No change from v1 include/uapi/linux/usb/g_uvc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/usb/g_uvc.h b/include/uapi/linux/usb/g_uvc.h index 3c9ee3020cbb..6698c3263ae8 100644 --- a/include/uapi/linux/usb/g_uvc.h +++ b/include/uapi/linux/usb/g_uvc.h @@ -11,6 +11,7 @@ #include #include #include +#include #define UVC_EVENT_FIRST (V4L2_EVENT_PRIVATE_START + 0) #define UVC_EVENT_CONNECT (V4L2_EVENT_PRIVATE_START + 0) -- 2.19.2