diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-20 23:35:22 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-27 01:52:16 +0400 |
commit | 1c17d8c748b251071c61a4383490881a4071b003 (patch) | |
tree | f17df374af07ac0dfe2a17cb47aa2bf9a56a2086 /drivers/media | |
parent | 821ee47e0ef589c75c0c10411463c8cd795afafb (diff) | |
download | linux-1c17d8c748b251071c61a4383490881a4071b003.tar.xz |
[media] enable COMPILE_TEST for MX2 eMMa-PrP driver
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/platform/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/platform/mx2_emmaprp.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 6d86646d9743..66566c920fe9 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -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 diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index fa8f7cabe364..4971ff21f82b 100644 --- a/drivers/media/platform/mx2_emmaprp.c +++ b/drivers/media/platform/mx2_emmaprp.c @@ -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" |