Skip to contentSkip to conversation

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

PATCH New Jean Delvare 1 participant 1 message May 23, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 V4L2: soc_camera: add run-time dependencies to R-Car VIN driver

The R-Car Video Input driver is only useful on shmobile unless build testing.

Cc Vladimir Barinov <[email protected]>
Cc Sergei Shtylyov <[email protected]>
Cc Guennadi Liakhovetski <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
---
 drivers/media/platform/soc_camera/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/media/platform/soc_camera/Kconfig +1 -0
@@ -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---
Signature · 2 lines
Jean Delvare
SUSE L3 Support