From: Laurent Pinchart Date: Thu, 1 Mar 2012 13:57:11 +0000 (+0100) Subject: ARM: mach-shmobile: Fix ag5evm compilation by including linux/videodev2.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e9db93a4711bb0586f6786f21274c3b74d8b608b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: mach-shmobile: Fix ag5evm compilation by including linux/videodev2.h The board file uses a 4CC defined in linux/videodev2.h. Include the header to fix arch/arm/mach-shmobile/board-ag5evm.c:262: error: 'V4L2_PIX_FMT_RGB565' undeclared here (not in a function) Signed-off-by: Laurent Pinchart Signed-off-by: Paul Mundt --- diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index 068b754bc348..8aea3a2dd889 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c @@ -38,6 +38,7 @@ #include #include #include +#include #include