[media] media/video: add I2C dependencies
authorArnd Bergmann <arnd@arndb.de>
Thu, 3 May 2012 21:22:25 +0000 (18:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 May 2012 10:53:23 +0000 (07:53 -0300)
Davinci VIDEO_VPFE_CAPTURE depends on I2C, so reflect that
in Kconfig to avoid build failures in random configurations.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/Kconfig

index 60a456ebdc7cd7b2972643a43695e89388c2f0ee..9337b5605c906272a12c6c1acf6a1e7001366412 100644 (file)
@@ -40,6 +40,7 @@ config VIDEO_VPSS_SYSTEM
 config VIDEO_VPFE_CAPTURE
        tristate "VPFE Video Capture Driver"
        depends on VIDEO_V4L2 && (ARCH_DAVINCI || ARCH_OMAP3)
+       depends on I2C
        select VIDEOBUF_DMA_CONTIG
        help
          Support for DMx/AMx VPFE based frame grabber. This is the