Browse Source

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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Laurent Pinchart 13 years ago
parent
commit
e9db93a471
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/mach-shmobile/board-ag5evm.c

+ 1 - 0
arch/arm/mach-shmobile/board-ag5evm.c

@@ -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>