[media] pxa_camera: allow building it if COMPILE_TEST is set
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 6 Sep 2016 10:37:45 +0000 (07:37 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:55:13 +0000 (10:55 -0300)
Allow building this driver if COMPILE_TEST is set.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/Kconfig

index 66cf1a857825c5168293dc385b1f88a583aa58c7..f98ed3fd0efdc2c82c51bc776f18e92b463d2420 100644 (file)
@@ -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---