Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp409386imu; Tue, 8 Jan 2019 23:11:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN6oHz77XnucKQ28J1XFQkkhJNQDmxXvcQn2zrtmz7LjpnZK48Hr5qZJBykUWd0yzm320ba4 X-Received: by 2002:a63:5f89:: with SMTP id t131mr4468859pgb.26.1547017875919; Tue, 08 Jan 2019 23:11:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547017875; cv=none; d=google.com; s=arc-20160816; b=DTyKWvZJCiQicYJEdKDVrmmm1G/0JD8nuSyon9RTctSw+ADdRV+DQcciZololwHY74 72bxxFIUJh5Nb2TAlD7AR8F7oJKZHh1C9Hw74kxqJP7b1lixAP2+jnLgJTOqcC79LM5i NgE4Fvl5uvEozgrqDGFPTB4KEOaVb1CXxUrR9S6YnQC2z8eVbfgGLjCckcKycifQzwJ9 3gREKgTQKbHXqTL1hjJrDJxMisN4Wa212dqipXHmgkeHHV6XOsGR6ThCihM3cfbU5Xb8 Gp3Z+IkqZhncDjgCoM1NRGUZLLMwRmYdJ3PqGpy8Ks/MCd25ElY3aKh9P5Ea+Ye5D3W5 jINg== 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=WwbJN5o18wW5sBMwdO6T9KwVtlTMvGAhF3oDXri46GQ=; b=XOVlaK3KFubJ/Kh/oir4XvR/ygWgjEGBxq7Eh5+TNQYHxHjWUVzYkJvom1U9DdcqGX W/Fxi8Cqje4sjvjOgLbiftm3QCqnOqlEbK8qJK9ivtaLdByqSv/ZcTQPKHDwuZqHsq+b ABgoYgulJX7VQlELyXIgQ6VokjJtphYC3D1HkMlg9ffJadHYsGFvTLIWpoCtkK6A0Z+G p50jOWO76QWrrPvVGoRXI4SNnUsabLnayKB4saOYfDCLLB2I2g4S9HlatmChG/JDYswc W7FCL3GXhY4XV0wZAvN4ECiz4528SguG9Vi5XZya2gGo5XSDLPoAb9IcPzheD+iZP/6Q 3qrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=CZXvR2uw; 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 q2si14758104plr.204.2019.01.08.23.10.59; Tue, 08 Jan 2019 23:11:15 -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=CZXvR2uw; 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 S1729768AbfAIHJx (ORCPT + 99 others); Wed, 9 Jan 2019 02:09:53 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:50366 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729158AbfAIHJw (ORCPT ); Wed, 9 Jan 2019 02:09:52 -0500 Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E1F40586; Wed, 9 Jan 2019 08:09:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1547017790; bh=zUjomlBSZ61UwAVRkoJo2Gm8Ulse80zorOI1fa+sXP8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CZXvR2uws/YGJ3Gu1ImP/G8SjeJFV3C5zWjHW3uKhxnJLr9xaD0ODqYbwXi0zo06R ITj1D7NO51nv6VDYqTxxkk5BMUl97iKngjUK8GktN5x6B3sh1ba21z/0UYJTwFE42G 4c8mk5IJVAoH1S3d/5uA2sjGiJmLZZAPHz012fGk= 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 v5 1/6] usb: uvc: include videodev2.h in g_uvc.h Date: Wed, 9 Jan 2019 02:08:51 -0500 Message-Id: <20190109070856.27460-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190109070856.27460-1-paul.elder@ideasonboard.com> References: <20190109070856.27460-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 v4 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.20.1