From: Jean Delvare Date: Fri, 23 May 2014 08:50:50 +0000 (-0300) Subject: [media] V4L2: soc_camera: add run-time dependencies to R-Car VIN driver X-Git-Tag: firefly_0821_release~176^2~2474^2~1399 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0b91199984239b1944c353a7b8b600e1ec887306;p=firefly-linux-kernel-4.4.55.git [media] 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. Signed-off-by: Jean Delvare Cc: Vladimir Barinov Cc: Sergei Shtylyov Cc: Guennadi Liakhovetski Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/soc_camera/Kconfig b/drivers/media/platform/soc_camera/Kconfig index af39c4665554..5f54530ab477 100644 --- a/drivers/media/platform/soc_camera/Kconfig +++ b/drivers/media/platform/soc_camera/Kconfig @@ -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---