ARM: mach-shmobile: Fix ag5evm compilation by including linux/videodev2.h
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 1 Mar 2012 13:57:11 +0000 (14:57 +0100)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 7 Mar 2012 08:04:28 +0000 (17:04 +0900)
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ag5evm.c

index 068b754..8aea3a2 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/mmc/sh_mobile_sdhi.h>
 #include <linux/mfd/tmio.h>
 #include <linux/sh_clk.h>
+#include <linux/videodev2.h>
 #include <video/sh_mobile_lcdc.h>
 #include <video/sh_mipi_dsi.h>
 #include <sound/sh_fsi.h>