summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-05-11 19:51:32 +0200
committerGuennadi Liakhovetski <g.liakhovetski@gmx.de>2009-05-11 19:51:32 +0200
commit39ae4cb418ef242558b61172ca37807dd184fb70 (patch)
treeedcf475464872af34979b8043aeb8a07861165de
parente45c6d33fbee270c6642910bd7d706d602d72914 (diff)
downloadmediapointer-dvb-s2-39ae4cb418ef242558b61172ca37807dd184fb70.tar.gz
mediapointer-dvb-s2-39ae4cb418ef242558b61172ca37807dd184fb70.tar.bz2
soc_camera: depends on I2C
From: Randy Dunlap <randy.dunlap@oracle.com> soc_camera uses i2c_*() functions and has build errors when CONFIG_I2C=n: ERROR: "i2c_new_device" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_get_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_put_adapter" [drivers/media/video/soc_camera.ko] undefined! ERROR: "i2c_unregister_device" [drivers/media/video/soc_camera.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
-rw-r--r--linux/drivers/media/video/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/Kconfig b/linux/drivers/media/video/Kconfig
index 9d48da2fb..f3799cb67 100644
--- a/linux/drivers/media/video/Kconfig
+++ b/linux/drivers/media/video/Kconfig
@@ -694,7 +694,7 @@ config VIDEO_CAFE_CCIC
config SOC_CAMERA
tristate "SoC camera support"
- depends on VIDEO_V4L2 && HAS_DMA
+ depends on VIDEO_V4L2 && HAS_DMA && I2C
select VIDEOBUF_GEN
help
SoC Camera is a common API to several cameras, not connecting