Skip to contentSkip to conversation

arm: fix compile failure in mach-shmobile/board-ag5evm.c

PATCH New Paul Gortmaker 2 participants 2 messages Jan 22, 2012 – Jan 24, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: fix compile failure in mach-shmobile/board-ag5evm.c

Add videodev2 header which provides V4L2_PIX_FMT_RGB565 to fix:

arch/arm/mach-shmobile/board-ag5evm.c:274: error: 'V4L2_PIX_FMT_RGB565' undeclared here (not in a function)

arch/arm/mach-shmobile/board-ag5evm.c +1 -0
index eff8a96..0ac36de 100644
@@ -30,6 +30,7 @@
 #include <linux/serial_sci.h>
 #include <linux/smsc911x.h>
 #include <linux/gpio.h>
+#include <linux/videodev2.h>
 #include <linux/input.h>
 #include <linux/input/sh_keysc.h>
 #include <linux/mmc/host.h>
Signature · 1 line
1.7.7.2
Applied
#1 lore raw

PATCH 1/1 arm: fix compile failure in mach-shmobile/board-ag5evm.c

Quoted 6 lines · Paul Gortmaker

Add videodev2 header which provides V4L2_PIX_FMT_RGB565 to fix:

arch/arm/mach-shmobile/board-ag5evm.c:274: error: 'V4L2_PIX_FMT_RGB565' undeclared here (not in a function)

Applied, thanks.