From: Arnd Bergmann Date: Fri, 21 Jul 2017 16:20:23 +0000 (-0400) Subject: media: v4l: omap_vout: vrfb: include linux/slab.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d74ce54885714f1427966d9ad7f6c60358358dba;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git media: v4l: omap_vout: vrfb: include linux/slab.h Without this header, we get a build error in some configurations: drivers/media/platform/omap/omap_vout_vrfb.c: In function 'omap_vout_setup_vrfb_bufs': drivers/media/platform/omap/omap_vout_vrfb.c:143:26: error: implicit declaration of function 'kzalloc'; did you mean 'vzalloc'? [-Werror=implicit-function-declaration] Fixes: 6a1560ecaa8c ("media: v4l: omap_vout: vrfb: Convert to dmaengine") Signed-off-by: Arnd Bergmann Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/omap/omap_vout_vrfb.c b/drivers/media/platform/omap/omap_vout_vrfb.c index 45a553d4f5b2..040eacc45168 100644 --- a/drivers/media/platform/omap/omap_vout_vrfb.c +++ b/drivers/media/platform/omap/omap_vout_vrfb.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include