diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2008-04-30 08:21:33 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-14 01:53:59 -0400 |
commit | b7eccc404f399ab93ed128e51ca5d6e0e5115dd2 (patch) | |
tree | 1233bc67d94b3f2bee0cfbfc9c9de48dffe69500 | |
parent | b4edcc9083af9444b288ee9e14cab28b29dc3636 (diff) |
V4L/DVB (7810): soc_camera: mt9v022 and mt9m001 depend on I2C
Both mt9v022 and mt9m001 cameras are controlled over the I2C bus.
Respectively, their drivers require I2C to be built successfully.
Thanks to Ingo Molnar for reporting the build-breakage.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index fe743aa7f645..98e2e1a2a71d 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -906,7 +906,7 @@ config SOC_CAMERA | |||
906 | 906 | ||
907 | config SOC_CAMERA_MT9M001 | 907 | config SOC_CAMERA_MT9M001 |
908 | tristate "mt9m001 support" | 908 | tristate "mt9m001 support" |
909 | depends on SOC_CAMERA | 909 | depends on SOC_CAMERA && I2C |
910 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH | 910 | select GPIO_PCA953X if MT9M001_PCA9536_SWITCH |
911 | help | 911 | help |
912 | This driver supports MT9M001 cameras from Micron, monochrome | 912 | This driver supports MT9M001 cameras from Micron, monochrome |
@@ -921,7 +921,7 @@ config MT9M001_PCA9536_SWITCH | |||
921 | 921 | ||
922 | config SOC_CAMERA_MT9V022 | 922 | config SOC_CAMERA_MT9V022 |
923 | tristate "mt9v022 support" | 923 | tristate "mt9v022 support" |
924 | depends on SOC_CAMERA | 924 | depends on SOC_CAMERA && I2C |
925 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH | 925 | select GPIO_PCA953X if MT9V022_PCA9536_SWITCH |
926 | help | 926 | help |
927 | This driver supports MT9V022 cameras from Micron | 927 | This driver supports MT9V022 cameras from Micron |