[media] enable COMPILE_TEST for MX2 eMMa-PrP driver
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 20 Aug 2014 19:35:22 +0000 (13:35 -0600)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 26 Aug 2014 21:52:16 +0000 (18:52 -0300)
By allowing compilation on all archs, we can use static
analysis tools to test this driver.

In order to do that, replace asm/sizes.h by its generic
name (linux/sizes.h), with should keep doing the right
thing.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/Kconfig
drivers/media/platform/mx2_emmaprp.c

index 6d86646d97433e2436435d52884e2e92ed1c2e33..66566c920fe98ff9e670ac1e59ebd38dc4e41a49 100644 (file)
@@ -185,7 +185,8 @@ config VIDEO_SAMSUNG_S5P_MFC
 
 config VIDEO_MX2_EMMAPRP
        tristate "MX2 eMMa-PrP support"
-       depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
+       depends on VIDEO_DEV && VIDEO_V4L2
+       depends on SOC_IMX27 || COMPILE_TEST
        select VIDEOBUF2_DMA_CONTIG
        select V4L2_MEM2MEM_DEV
        help
index fa8f7cabe364d4d36b20009d462eab02ff95f78f..4971ff21f82b6b46a5a2c43e25a40adfd6611ab8 100644 (file)
@@ -27,7 +27,7 @@
 #include <media/v4l2-device.h>
 #include <media/v4l2-ioctl.h>
 #include <media/videobuf2-dma-contig.h>
-#include <asm/sizes.h>
+#include <linux/sizes.h>
 
 #define EMMAPRP_MODULE_NAME "mem2mem-emmaprp"
 
This page took 0.082516 seconds and 5 git commands to generate.