From patchwork Tue Jan 26 14:09:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101084 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp1981740lbb; Tue, 26 Jan 2016 06:12:42 -0800 (PST) X-Received: by 10.98.16.27 with SMTP id y27mr34344015pfi.33.1453817562162; Tue, 26 Jan 2016 06:12:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v86si2334071pfi.16.2016.01.26.06.12.41; Tue, 26 Jan 2016 06:12:42 -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; 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 S1757456AbcAZOMb (ORCPT + 30 others); Tue, 26 Jan 2016 09:12:31 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:62932 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757356AbcAZOMR (ORCPT ); Tue, 26 Jan 2016 09:12:17 -0500 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lj2f0-1ZpXkA1RLK-00dJYL; Tue, 26 Jan 2016 15:11:48 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: linux-arm-kernel@lists.infradead.org, Arnd Bergmann , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/7] [media] em28xx: only use mt9v011 if camera support is enabled Date: Tue, 26 Jan 2016 15:09:59 +0100 Message-Id: <1453817424-3080054-5-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453817424-3080054-1-git-send-email-arnd@arndb.de> References: <1453817424-3080054-1-git-send-email-arnd@arndb.de> X-Provags-ID: V03:K0:pam+EteejU3P4zgd1NnZPWF6BXW/0JGNKXMvRyH9wZACUODP39f oOmpFlnyM16t7BlxIkvArDiUDSHW39bhugUdVzyUBmKnS85Vj6YC7As8Qgrgb3iBHu1763Z 8h3nwcf2n6ZVJiiz1g3KYgPF84UUANcFsZ0n+hzfRACDQjlosMTgOTGFxcw/eqXgu0VUuat L5ZEA6pkuqFOXDaYp76vA== X-UI-Out-Filterresults: notjunk:1; V01:K0:cgenjSk76OA=:p6Is5Tngp2FgemCXcF1FDx 9igYzfPbrrY7VJ07czSZ6W6+wUH0pRAxfcEtpgMX3YLgPk9xDE38kytJEy9GQTl52hjGeqCmJ XzyjIo9bQZDT3H2AN+bhkibZLfN+9Xi0hWuD6EKWL91MKvxkuHCqbIl5zvtlrd85PdJLY5zlE eugEgS9eKGpQowy9OjdVkuZ+1vQT3ltANWuM6Bg9B1wWYC3Bjfh/AqxjGETjVNsY8XA+OxmlE LYjo6CYVN/qiF65XbzIansKWVtz4t8HvC4fHaA2zG3J78ajUTLgCWlm/x6BPqphdWKAKAlsjc dNgGOKF1YOPHSADQN2WVzsaGTFdCxO+B39V3I/efUDg1XluTcdsdEZgjkTU9ZOq63jM7cWNal Isvlo5s+MeUHDsvvLFfL+zJfSIsBNKfifd7j4sFXZpPWyp6WyAcQjEgyE+VGjq9Q3FDtmpzMS vdUrCC3Wc0XdtFAoO6Vwv4Pn7eii1Aow4fwMn0BRTpMTuntl+mm3GDNyhBI9eAfO16jpKJ3ES uY2iql7Qw+RfzjOlIJQjSkk+GPRu+AL/reHC7/LaUuWsJDh1jT2vHmH6ENr8q2w9IPBT4A/Rz 3z5dvPye+la6RaQg3oK6L/dEureli3+ZyyMX7wvoDBBFbJbKIsEcLonKPS8SOvfieGQQhbUzQ qHcAwTGQH6XvTyRFz+AkjwSHOJuL9wCAEIu/xYcQTVyWurWJ1gAeMjJtkp/h+xExi8X0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In randconfig builds that select VIDEO_EM28XX_V4L2 and MEDIA_SUBDRV_AUTOSELECT, but not MEDIA_CAMERA_SUPPORT, we get a Kconfig warning: warning: (VIDEO_EM28XX_V4L2) selects VIDEO_MT9V011 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT) This avoids the warning by making that 'select' conditional on MEDIA_CAMERA_SUPPORT. Alternatively we could mark EM28XX as 'depends on MEDIA_CAMERA_SUPPORT', but it does not seem to have any real dependency on that itself. Signed-off-by: Arnd Bergmann --- drivers/media/usb/em28xx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.0 diff --git a/drivers/media/usb/em28xx/Kconfig b/drivers/media/usb/em28xx/Kconfig index e382210c4ada..75323f5efd0f 100644 --- a/drivers/media/usb/em28xx/Kconfig +++ b/drivers/media/usb/em28xx/Kconfig @@ -11,7 +11,7 @@ config VIDEO_EM28XX_V4L2 select VIDEO_SAA711X if MEDIA_SUBDRV_AUTOSELECT select VIDEO_TVP5150 if MEDIA_SUBDRV_AUTOSELECT select VIDEO_MSP3400 if MEDIA_SUBDRV_AUTOSELECT - select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT + select VIDEO_MT9V011 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_CAMERA_SUPPORT ---help--- This is a video4linux driver for Empia 28xx based TV cards.