aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2009-05-11 13:51:32 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:21:01 -0400
commit9d6f7f603f8c362eec321e8dacb1cb54d74fa004 (patch)
tree88ccfc8ec2b26b9b9121948e6e1b583316915996 /drivers
parent5d24a037f16d6663761d32ea2a0b6acf60cd632c (diff)
V4L/DVB (11756): soc_camera: depends on I2C
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> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
index af576eaeab7a..94f440535c64 100644
--- a/drivers/media/video/Kconfig
+++ b/drivers/media/video/Kconfig
@@ -712,7 +712,7 @@ config VIDEO_CAFE_CCIC
712 712
713config SOC_CAMERA 713config SOC_CAMERA
714 tristate "SoC camera support" 714 tristate "SoC camera support"
715 depends on VIDEO_V4L2 && HAS_DMA 715 depends on VIDEO_V4L2 && HAS_DMA && I2C
716 select VIDEOBUF_GEN 716 select VIDEOBUF_GEN
717 help 717 help
718 SoC Camera is a common API to several cameras, not connecting 718 SoC Camera is a common API to several cameras, not connecting