diff mbox

[media] V4L2: soc_camera: add run-time dependencies to R-Car VIN driver

Message ID 20140523105050.632a9cd2@endymion.delvare (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare May 23, 2014, 8:50 a.m. UTC
The R-Car Video Input driver is only useful on shmobile unless build
testing.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
---
 drivers/media/platform/soc_camera/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

--- linux-3.15-rc6.orig/drivers/media/platform/soc_camera/Kconfig	2014-05-23 10:35:06.650728184 +0200
+++ linux-3.15-rc6/drivers/media/platform/soc_camera/Kconfig	2014-05-23 10:36:36.373633190 +0200
@@ -47,6 +47,7 @@  config VIDEO_PXA27x
 config VIDEO_RCAR_VIN
 	tristate "R-Car Video Input (VIN) support"
 	depends on VIDEO_DEV && SOC_CAMERA
+	depends on ARCH_SHMOBILE || COMPILE_TEST
 	select VIDEOBUF2_DMA_CONTIG
 	select SOC_CAMERA_SCALE_CROP
 	---help---