arm: omap1: add missing includes
authorAaro Koskinen <aaro.koskinen@nokia.com>
Thu, 18 Nov 2010 17:59:46 +0000 (19:59 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 25 Nov 2010 00:46:48 +0000 (16:46 -0800)
Add missing includes to get rid of the following sparse warnings:

arch/arm/mach-omap1/devices.c:225:13: warning: symbol 'omap1_camera_init' was not declared. Should it be static?
arch/arm/mach-omap1/flash.c:15:6: warning: symbol 'omap1_set_vpp' was not declared. Should it be static?
arch/arm/mach-omap1/serial.c:190:6: warning: symbol 'omap_serial_wake_trigger' was not declared. Should it be static?
arch/arm/mach-omap1/time.c:252:18: warning: symbol 'omap_timer' was not declared. Should it be static?

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/devices.c
arch/arm/mach-omap1/flash.c
arch/arm/mach-omap1/serial.c
arch/arm/mach-omap1/time.c

index e7f9ee63dce5f5cd5656dbff364cb4dc149dd2a2..86ad38a20c3eea94c0b3c5d1296e6eded242dce0 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/io.h>
 #include <linux/spi/spi.h>
 
+#include <mach/camera.h>
 #include <mach/hardware.h>
 #include <asm/mach/map.h>
 
index 0b07a78eeaa74ce8f32205f0fd3d38f1af9cec6b..acd16166640861a61dff9a334179d12dcdc670e9 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <plat/io.h>
 #include <plat/tc.h>
+#include <plat/flash.h>
 
 void omap1_set_vpp(struct map_info *map, int enable)
 {
index b78d0749f13d9bd4a80c8dd250ac531123c869ad..0845fbbf155e3cf643298ceef06afa0660c21def 100644 (file)
@@ -27,6 +27,8 @@
 #include <mach/gpio.h>
 #include <plat/fpga.h>
 
+#include "pm.h"
+
 static struct clk * uart1_ck;
 static struct clk * uart2_ck;
 static struct clk * uart3_ck;
index 1be6a214d88de2d5cbc77dd259c84a42f7548f06..7f75bc614ec0885025e19e9cf9d4d8334cdf263f 100644 (file)
@@ -52,6 +52,7 @@
 #include <asm/mach/irq.h>
 #include <asm/mach/time.h>
 
+#include <plat/common.h>
 
 #define OMAP_MPU_TIMER_BASE            OMAP_MPU_TIMER1_BASE
 #define OMAP_MPU_TIMER_OFFSET          0x100