Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp360300imm; Tue, 9 Oct 2018 19:52:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63ki4LONTDsKcmmRfh3UP+EyMLPMKGw4JupBPNfayfGODwqCtTtbyqnNMG1QIHebOSTr2zD X-Received: by 2002:a63:6342:: with SMTP id x63-v6mr26497420pgb.83.1539139956902; Tue, 09 Oct 2018 19:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539139956; cv=none; d=google.com; s=arc-20160816; b=N2+Z/65g52y12Q60sCC9dpo7QYA5qUB36lA9sp5PHq+fYLHbTZrtSXxln3CuL2LlZ/ xK6L6ISTpGYLgEh3LAZjKqDFIZjPcggKYmxmicvByXrduA2bvgiPEV6S57QfH4BYG36d R/GZUhDEhHGhEmFakhPuSlUqDlm2/ou2HUSLLrqsD7UNpclcXHtAY58Uyq9N90wq+KaM 6lvOw5GaFU0uZ/yumqbeHmMdN6Q3MnyJvs1AVi/GojopUoYfar05l5YDvomvhGUaLzaW ZjJFSQljhARyc0s33q6TwgF7F1EAwK/h1mhfCXwn5/3WAxBMqGXVUm7mkIXfi39ZGoDP 2NOA== 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=tnArJbZ27vowWiBmTcui8RI16G3e7phy471C9w1I1E4=; b=UHRQ49F3nrOKbGVhXFtHrd4qFokqqUL5SajzWrlXbyn+lD1jsJfxK2FoRCseJMhptt Puw2Zh66qurnTvGPGqBTErobIRaswiA13+3oi0F6ef8E+WOqUwjDXP3WDH/4TevF2Ax8 B+NwNts3m2Zyrt99b3AmANuwHI9b6QMIHFC9kV4KNfe1kwJJ+tMZuuXcYbjrrMGwUk4S F/IXYfZb/hlNQWa6kkhsG8ppFk6yEWXxC2F8abUYZK0/sZL415ixcY803jE9nO1S++mE YFNUNTo2Ke6llQKxPTX+jTIXQtAgDivfyCNHdr9iJG8PAndU0zB9F9FTF7sX0EsnVFgM eaGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=dijQyiF4; 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 33-v6si24768614ply.251.2018.10.09.19.52.22; Tue, 09 Oct 2018 19:52:36 -0700 (PDT) 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=dijQyiF4; 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 S1727368AbeJJKJU (ORCPT + 99 others); Wed, 10 Oct 2018 06:09:20 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:44274 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726721AbeJJKJT (ORCPT ); Wed, 10 Oct 2018 06:09:19 -0400 Received: from garnet.amanokami.net (unknown [96.44.9.229]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 54CE21BF9; Wed, 10 Oct 2018 04:49:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1539139760; bh=OCP1C/Jq1hJ1n1s1Bpzhzc8kEnIB9upcUwlguoJnu3w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dijQyiF4D7tGEr3qQGXJNFCCh1CjbLr4KKAVdt7OmLvARLU74Wd/WHiTn9wqRqx9n q3+W+a57HFy8ndYGKIN7rO+7qFE0tnbXt727trreEDoDhaBJ2IgpQOcBddIA5r+LOD cNZEKaZc3GbpPtXpAZPjqj7OTfxsE1o4upKN5a9I= From: Paul Elder To: laurent.pinchart@ideasonboard.com, kieran.bingham@ideasonboard.com Cc: Paul Elder , b-liu@ti.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, stern@rowland.harvard.edu, rogerq@ti.com Subject: [PATCH 1/6] usb: uvc: include videodev2.h in g_uvc.h Date: Tue, 9 Oct 2018 22:48:58 -0400 Message-Id: <20181010024903.1633-2-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181010024903.1633-1-paul.elder@ideasonboard.com> References: <20181010024903.1633-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 --- 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.18.0