[media] V4L2: soc_camera: Add run-time dependencies to sh_mobile drivers
authorJean Delvare <jdelvare@suse.de>
Mon, 26 May 2014 13:17:32 +0000 (10:17 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 17 Jun 2014 15:04:54 +0000 (12:04 -0300)
The sh_mobile_ceu_camera and sh_mobile_csi2 drivers are only useful on
SuperH and shmobile unless build testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/soc_camera/Kconfig

index dddca60f63aee570accb5decc012440e732e0838..6540847f4e1d3345cb90a73ef6ad8531c03f2150 100644 (file)
@@ -43,12 +43,14 @@ config VIDEO_RCAR_VIN
 config VIDEO_SH_MOBILE_CSI2
        tristate "SuperH Mobile MIPI CSI-2 Interface driver"
        depends on VIDEO_DEV && SOC_CAMERA && HAVE_CLK
+       depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
        ---help---
          This is a v4l2 driver for the SuperH MIPI CSI-2 Interface
 
 config VIDEO_SH_MOBILE_CEU
        tristate "SuperH Mobile CEU Interface driver"
        depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
+       depends on ARCH_SHMOBILE || SUPERH || COMPILE_TEST
        select VIDEOBUF2_DMA_CONTIG
        select SOC_CAMERA_SCALE_CROP
        ---help---