From 5809ecdd6c3c0d6d568a10280f3736f1f4304930 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Tue, 6 Sep 2016 07:37:45 -0300 Subject: [PATCH] [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 --- drivers/media/platform/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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--- -- 2.30.2