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-Url: https://git.stricted.de/?a=commitdiff_plain;h=0b91199984239b1944c353a7b8b600e1ec887306;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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---