media: imx: allow to build with COMPILE_TEST
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 19 Dec 2017 11:42:32 +0000 (06:42 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 26 Feb 2018 11:53:44 +0000 (06:53 -0500)
Allow building this driver for other platforms under COMPILE_TEST.

Suggested-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/staging/media/imx/Kconfig

index 2be921cd0d55aef87ee3c843718208e421c68957..59b380cc6d22358989e1b99e0d1326065a31a141 100644 (file)
@@ -1,6 +1,7 @@
 config VIDEO_IMX_MEDIA
        tristate "i.MX5/6 V4L2 media core driver"
-       depends on MEDIA_CONTROLLER && VIDEO_V4L2 && ARCH_MXC && IMX_IPUV3_CORE
+       depends on ARCH_MXC || COMPILE_TEST
+       depends on MEDIA_CONTROLLER && VIDEO_V4L2 && IMX_IPUV3_CORE
        depends on VIDEO_V4L2_SUBDEV_API
        select VIDEOBUF2_DMA_CONTIG
        select V4L2_FWNODE