From: Hans Verkuil Date: Tue, 6 Sep 2016 10:37:45 +0000 (-0300) Subject: [media] pxa_camera: allow building it if COMPILE_TEST is set X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5809ecdd6c3c0d6d568a10280f3736f1f4304930;p=openwrt%2Fstaging%2Fblogic.git [media] pxa_camera: allow building it if COMPILE_TEST is set Allow building this driver if COMPILE_TEST is set. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 66cf1a857825..f98ed3fd0efd 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -93,7 +93,8 @@ config VIDEO_OMAP3_DEBUG config VIDEO_PXA27x tristate "PXA27x Quick Capture Interface driver" - depends on VIDEO_DEV && PXA27x && HAS_DMA + depends on VIDEO_DEV && HAS_DMA + depends on PXA27x || COMPILE_TEST select VIDEOBUF2_DMA_SG select SG_SPLIT ---help---