Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5925657imu; Sun, 20 Jan 2019 23:34:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN4jSjW64gDcGIu8ckLAdlaGud7O8avvJR7iFVZQ7Qdaatpha7aFDXygv9WpfX0BUj/c4m9M X-Received: by 2002:a17:902:8541:: with SMTP id d1mr29384814plo.205.1548056088004; Sun, 20 Jan 2019 23:34:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548056087; cv=none; d=google.com; s=arc-20160816; b=UztPnNYbUZ986PS7q5P4HaORzRXHczUXO1KWzoAFpcMkQspcZ+9yjUmXYI7WL0RS11 wuACzT9Pk4XVMx3HWhOZatyL2vG2zj/dLnxWbOX0SQ6twzATDzJr9eiyMlwKaoug81GI pwmmSU/VTPvfsfUFlWUBQgxodhWD9wNekpc/OiRrMPIgA3jlMfPr+ntjbXs5tbLeJoMN CN2u64DtpItfBcAdhffd85xYd11tQYJHCaSpe9rxbrUgO1aCuT3TkdWiUeQpRWm/c8sE i7wTl4H6wcExhigU/scZ8rSr1+5foAPoSwUbQMLfh1DgvLuWhEYETQMDV42QNhrmo/mZ Ip7g== 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=B3coIyRYwfGCWIrOQxzeJMwXfmfCAJrkMtqmo2gOZuM=; b=Ojkl9GM4mi0CFlk85o2ZatYdBwxov96XzCvmzy6XTTT3bmsOuP239ZvFIHjVKT3xt3 c6J+xzM7mrK5xPrPi8Qc3uikJ7kqsrF/POqspuN8uiSCdXgnoJU3WK6NM8Yg0grQXWQt 65OA2/CqsmFqBtqQzXAyICQMNFQCCIV7HGyiH2pXIkKDEKO0q63XlpgfJ8ylXCs5WlOF KfA7nu3CFO1iMjdfaoKCwLbM579zwCRVTcxc0ih+2fa4a2chJuAJEQcVCqF6UKceyEBc OaH/ztBVxEa++S4UEYADS2tNaaR27yjV7r6LR9rz/t9vNER7XS5EXszUvBGKcGsKVNNu erng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KwEUk1u7; 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 x6si11449663pln.425.2019.01.20.23.34.32; Sun, 20 Jan 2019 23:34:47 -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=KwEUk1u7; 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 S1728631AbfAUHb5 (ORCPT + 99 others); Mon, 21 Jan 2019 02:31:57 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:45902 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728430AbfAUHba (ORCPT ); Mon, 21 Jan 2019 02:31:30 -0500 Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 72581B60; Sun, 20 Jan 2019 20:41:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1548013317; bh=M5/euAy6dX0wJeOW7nGNoT6yPzv7tpxo8hKP2n5rlK8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KwEUk1u7bxxd2dTW7bqH6riMx4gX/2DVPejji8OqFIstRhWRiaa/IIOvRWRzfEUgE oOJdRBffKbes2JNRlSpxiHmjZbH+ta92aC9UFHjl2EQtC1M52sg+ARgN54hn9yGL8j F4Y6NOlCZPMfaL+azX1Owz4tZb7MMQ6Fp+ZpH5NE= 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 v6 1/6] usb: uvc: include videodev2.h in g_uvc.h Date: Sun, 20 Jan 2019 14:41:31 -0500 Message-Id: <20190120194136.21870-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190120194136.21870-1-paul.elder@ideasonboard.com> References: <20190120194136.21870-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 v5 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