summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-19 08:43:49 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-04-19 08:49:15 -0300
commita463ea990d2138ca93027b006be96a0324b77fe4 (patch)
tree75dcca851bdfb33ee81505416e0477eb130a8a86 /drivers/media/i2c/Kconfig
parent26c7e7bc50b85465c934140a5009d61551e51057 (diff)
[media] ov2640: make GPIOLIB an optional dependency
As warned by kbuild test robot: warning: (VIDEO_EM28XX_V4L2) selects VIDEO_OV2640 which has unmet direct dependencies (MEDIA_SUPPORT && VIDEO_V4L2 && I2C && GPIOLIB && MEDIA_CAMERA_SUPPORT) The em28xx driver can use ov2640, but it doesn't depend (or use) the GPIOLIB in order to power off/on the sensor. So, as we want to allow both usages with and without GPIOLIB, make its dependency optional. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/i2c/Kconfig')
-rw-r--r--drivers/media/i2c/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig
index 40bb4bdc51da..fd181c99ce11 100644
--- a/drivers/media/i2c/Kconfig
+++ b/drivers/media/i2c/Kconfig
@@ -519,7 +519,7 @@ config VIDEO_SMIAPP_PLL
config VIDEO_OV2640
tristate "OmniVision OV2640 sensor support"
- depends on VIDEO_V4L2 && I2C && GPIOLIB
+ depends on VIDEO_V4L2 && I2C
depends on MEDIA_CAMERA_SUPPORT
help
This is a Video4Linux2 sensor-level driver for the OmniVision