]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[media] i2c: Make all i2c devices visible if COMPILE_TEST=y
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 29 Jun 2015 13:46:48 +0000 (10:46 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 14:38:21 +0000 (11:38 -0300)
Make the i2c devices menu visible when compile-testing, to allow
selecting additional drivers on top of the drivers that are already
automatically selected if MEDIA_SUBDRV_AUTOSELECT is enabled.

Without this, many drivers stay disabled during e.g. allmodconfig.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/Kconfig

index 0e0490d60e7e0fb831e21b82f5713b4414d5ab1b..d669547604cd157df243c03033f59203a42cb365 100644 (file)
@@ -22,7 +22,7 @@ config VIDEO_IR_I2C
 #
 
 menu "Encoders, decoders, sensors and other helper chips"
-       visible if !MEDIA_SUBDRV_AUTOSELECT
+       visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST
 
 comment "Audio decoders, processors and mixers"