]> git.baikalelectronics.ru Git - kernel.git/commit
[media] go7007: add MEDIA_CAMERA_SUPPORT dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 26 Jan 2016 14:10:01 +0000 (12:10 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:15:02 +0000 (13:15 -0200)
commit6cc4b150489d5b7096789d7d547964bca3e04cad
tree10724e048c5e33e3fb79cc5b72508128ecbc3fec
parent7946e8272934c55b1c6c09996ab950da5bda9336
[media] go7007: add MEDIA_CAMERA_SUPPORT dependency

If MEDIA_SUBDRV_AUTOSELECT and VIDEO_GO7007 are both set, we
automatically select VIDEO_OV7640, but that depends on MEDIA_CAMERA_SUPPORT,
so we get a Kconfig warning if that is disabled:

warning: (VIDEO_GO7007) selects VIDEO_OV7640 which has unmet direct dependencies (MEDIA_SUPPORT && I2C && VIDEO_V4L2 && MEDIA_CAMERA_SUPPORT)

This adds another dependency so we don't accidentally select
it when it is unavailable.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/go7007/Kconfig