]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] w90x900: fix build errors and warnings
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 10 Jan 2009 11:34:39 +0000 (11:34 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 12 Jan 2009 13:51:03 +0000 (13:51 +0000)
Fix:
arch/arm/mach-w90x900/mach-w90p910evb.c:65: error: 'W90X900_PA_UART' undeclared here (not in a function)

and silence warnings caused by inappropriate inclusion of mach/system.h.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-w90x900/mach-w90p910evb.c
arch/arm/mach-w90x900/time.c

index 9307a2475438be0b546400c89331fd60aaf49690..9ebc93f485305f82b4651294127029535007402d 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/mach-types.h>
 
 #include <mach/regs-serial.h>
+#include <mach/map.h>
 
 #include "cpu.h"
 
index 3a69e381f31676e245ad792303c4d90653b53844..bcc838f6b3936236d68c50bc54be24f775ecb263 100644 (file)
@@ -28,7 +28,6 @@
 #include <asm/mach/irq.h>
 #include <asm/mach/time.h>
 
-#include <mach/system.h>
 #include <mach/map.h>
 #include <mach/regs-timer.h>