diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-01-10 06:34:39 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-01-12 08:51:03 -0500 |
commit | d672d2fc13242f9284345cb7e4c5a32cd5edefa3 (patch) | |
tree | 94784a66a7302db99b8d215e138e0d0099ec9675 /arch | |
parent | ae04d1401577bb63151480a053057de58b8e10bb (diff) |
[ARM] w90x900: fix build errors and warnings
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-w90x900/mach-w90p910evb.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-w90x900/time.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-w90x900/mach-w90p910evb.c b/arch/arm/mach-w90x900/mach-w90p910evb.c index 9307a2475438..9ebc93f48530 100644 --- a/arch/arm/mach-w90x900/mach-w90p910evb.c +++ b/arch/arm/mach-w90x900/mach-w90p910evb.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <asm/mach-types.h> | 29 | #include <asm/mach-types.h> |
30 | 30 | ||
31 | #include <mach/regs-serial.h> | 31 | #include <mach/regs-serial.h> |
32 | #include <mach/map.h> | ||
32 | 33 | ||
33 | #include "cpu.h" | 34 | #include "cpu.h" |
34 | 35 | ||
diff --git a/arch/arm/mach-w90x900/time.c b/arch/arm/mach-w90x900/time.c index 3a69e381f316..bcc838f6b393 100644 --- a/arch/arm/mach-w90x900/time.c +++ b/arch/arm/mach-w90x900/time.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <asm/mach/irq.h> | 28 | #include <asm/mach/irq.h> |
29 | #include <asm/mach/time.h> | 29 | #include <asm/mach/time.h> |
30 | 30 | ||
31 | #include <mach/system.h> | ||
32 | #include <mach/map.h> | 31 | #include <mach/map.h> |
33 | #include <mach/regs-timer.h> | 32 | #include <mach/regs-timer.h> |
34 | 33 | ||