diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-02 17:33:18 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-02 17:35:16 -0400 |
commit | bccf650270a94cec6e9238743e84c6e01de30c70 (patch) | |
tree | 7e58444f9a976a1d680cfe3d2d47677fabdaa048 | |
parent | 4baa9922430662431231ac637adedddbb0cfb2d7 (diff) |
[ARM] Fix explicit asm(-arm)?/arch-foo references
No file should be explicitly referencing its own platform headers
by specifying an absolute include path. Fix these paths to use
standard <asm/arch/...> includes.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | arch/arm/mach-ns9xxx/board-a9m9750dev.c | 12 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/gpio-ns9360.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/gpio.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/irq.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/mach-cc9p9360dev.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/mach-cc9p9360js.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/plat-serial8250.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/processor-ns9360.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ns9xxx/time-ns9360.c | 6 | ||||
-rw-r--r-- | drivers/mtd/maps/ipaq-flash.c | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-ns9xxx/debug-macro.S | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-ns9xxx/entry-macro.S | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-ns9xxx/processor.h | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-ns9xxx/system.h | 4 | ||||
-rw-r--r-- | include/asm-arm/arch-omap/board.h | 2 |
15 files changed, 30 insertions, 30 deletions
diff --git a/arch/arm/mach-ns9xxx/board-a9m9750dev.c b/arch/arm/mach-ns9xxx/board-a9m9750dev.c index a494b71c0195..46b4f5a2e7f4 100644 --- a/arch/arm/mach-ns9xxx/board-a9m9750dev.c +++ b/arch/arm/mach-ns9xxx/board-a9m9750dev.c | |||
@@ -13,12 +13,12 @@ | |||
13 | #include <asm/mach/map.h> | 13 | #include <asm/mach/map.h> |
14 | #include <asm/gpio.h> | 14 | #include <asm/gpio.h> |
15 | 15 | ||
16 | #include <asm/arch-ns9xxx/board.h> | 16 | #include <asm/arch/board.h> |
17 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 17 | #include <asm/arch/processor-ns9360.h> |
18 | #include <asm/arch-ns9xxx/regs-sys-ns9360.h> | 18 | #include <asm/arch/regs-sys-ns9360.h> |
19 | #include <asm/arch-ns9xxx/regs-mem.h> | 19 | #include <asm/arch/regs-mem.h> |
20 | #include <asm/arch-ns9xxx/regs-bbu.h> | 20 | #include <asm/arch/regs-bbu.h> |
21 | #include <asm/arch-ns9xxx/regs-board-a9m9750dev.h> | 21 | #include <asm/arch/regs-board-a9m9750dev.h> |
22 | 22 | ||
23 | #include "board-a9m9750dev.h" | 23 | #include "board-a9m9750dev.h" |
24 | 24 | ||
diff --git a/arch/arm/mach-ns9xxx/gpio-ns9360.c b/arch/arm/mach-ns9xxx/gpio-ns9360.c index cabfb879dda9..7bc05a4b45b8 100644 --- a/arch/arm/mach-ns9xxx/gpio-ns9360.c +++ b/arch/arm/mach-ns9xxx/gpio-ns9360.c | |||
@@ -14,8 +14,8 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | 16 | ||
17 | #include <asm/arch-ns9xxx/regs-bbu.h> | 17 | #include <asm/arch/regs-bbu.h> |
18 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 18 | #include <asm/arch/processor-ns9360.h> |
19 | 19 | ||
20 | #include "gpio-ns9360.h" | 20 | #include "gpio-ns9360.h" |
21 | 21 | ||
diff --git a/arch/arm/mach-ns9xxx/gpio.c b/arch/arm/mach-ns9xxx/gpio.c index b3c963b0c8f5..ed4c83389d4a 100644 --- a/arch/arm/mach-ns9xxx/gpio.c +++ b/arch/arm/mach-ns9xxx/gpio.c | |||
@@ -13,9 +13,9 @@ | |||
13 | #include <linux/spinlock.h> | 13 | #include <linux/spinlock.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | 15 | ||
16 | #include <asm/arch-ns9xxx/gpio.h> | 16 | #include <asm/arch/gpio.h> |
17 | #include <asm/arch-ns9xxx/processor.h> | 17 | #include <asm/arch/processor.h> |
18 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 18 | #include <asm/arch/processor-ns9360.h> |
19 | #include <asm/bug.h> | 19 | #include <asm/bug.h> |
20 | #include <asm/types.h> | 20 | #include <asm/types.h> |
21 | #include <asm/bitops.h> | 21 | #include <asm/bitops.h> |
diff --git a/arch/arm/mach-ns9xxx/irq.c b/arch/arm/mach-ns9xxx/irq.c index ca85d24cf39f..d2964257797e 100644 --- a/arch/arm/mach-ns9xxx/irq.c +++ b/arch/arm/mach-ns9xxx/irq.c | |||
@@ -13,9 +13,9 @@ | |||
13 | #include <asm/io.h> | 13 | #include <asm/io.h> |
14 | #include <asm/mach/irq.h> | 14 | #include <asm/mach/irq.h> |
15 | #include <asm/mach-types.h> | 15 | #include <asm/mach-types.h> |
16 | #include <asm/arch-ns9xxx/regs-sys-common.h> | 16 | #include <asm/arch/regs-sys-common.h> |
17 | #include <asm/arch-ns9xxx/irqs.h> | 17 | #include <asm/arch/irqs.h> |
18 | #include <asm/arch-ns9xxx/board.h> | 18 | #include <asm/arch/board.h> |
19 | 19 | ||
20 | #include "generic.h" | 20 | #include "generic.h" |
21 | 21 | ||
diff --git a/arch/arm/mach-ns9xxx/mach-cc9p9360dev.c b/arch/arm/mach-ns9xxx/mach-cc9p9360dev.c index 9623fff6b3bc..7714233fb004 100644 --- a/arch/arm/mach-ns9xxx/mach-cc9p9360dev.c +++ b/arch/arm/mach-ns9xxx/mach-cc9p9360dev.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <asm/mach/arch.h> | 11 | #include <asm/mach/arch.h> |
12 | #include <asm/mach-types.h> | 12 | #include <asm/mach-types.h> |
13 | 13 | ||
14 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 14 | #include <asm/arch/processor-ns9360.h> |
15 | 15 | ||
16 | #include "board-a9m9750dev.h" | 16 | #include "board-a9m9750dev.h" |
17 | #include "generic.h" | 17 | #include "generic.h" |
diff --git a/arch/arm/mach-ns9xxx/mach-cc9p9360js.c b/arch/arm/mach-ns9xxx/mach-cc9p9360js.c index fcc815bdd291..bdbd0bb1a0b3 100644 --- a/arch/arm/mach-ns9xxx/mach-cc9p9360js.c +++ b/arch/arm/mach-ns9xxx/mach-cc9p9360js.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <asm/mach/arch.h> | 11 | #include <asm/mach/arch.h> |
12 | #include <asm/mach-types.h> | 12 | #include <asm/mach-types.h> |
13 | 13 | ||
14 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 14 | #include <asm/arch/processor-ns9360.h> |
15 | 15 | ||
16 | #include "board-jscc9p9360.h" | 16 | #include "board-jscc9p9360.h" |
17 | #include "generic.h" | 17 | #include "generic.h" |
diff --git a/arch/arm/mach-ns9xxx/plat-serial8250.c b/arch/arm/mach-ns9xxx/plat-serial8250.c index 5aa5d9baf8c8..c9cce9b4e6c9 100644 --- a/arch/arm/mach-ns9xxx/plat-serial8250.c +++ b/arch/arm/mach-ns9xxx/plat-serial8250.c | |||
@@ -11,8 +11,8 @@ | |||
11 | #include <linux/platform_device.h> | 11 | #include <linux/platform_device.h> |
12 | #include <linux/serial_8250.h> | 12 | #include <linux/serial_8250.h> |
13 | 13 | ||
14 | #include <asm/arch-ns9xxx/regs-board-a9m9750dev.h> | 14 | #include <asm/arch/regs-board-a9m9750dev.h> |
15 | #include <asm/arch-ns9xxx/board.h> | 15 | #include <asm/arch/board.h> |
16 | 16 | ||
17 | #define DRIVER_NAME "serial8250" | 17 | #define DRIVER_NAME "serial8250" |
18 | 18 | ||
diff --git a/arch/arm/mach-ns9xxx/processor-ns9360.c b/arch/arm/mach-ns9xxx/processor-ns9360.c index 2bee0b7fccbb..8ee81b59b35d 100644 --- a/arch/arm/mach-ns9xxx/processor-ns9360.c +++ b/arch/arm/mach-ns9xxx/processor-ns9360.c | |||
@@ -14,8 +14,8 @@ | |||
14 | 14 | ||
15 | #include <asm/page.h> | 15 | #include <asm/page.h> |
16 | #include <asm/mach/map.h> | 16 | #include <asm/mach/map.h> |
17 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 17 | #include <asm/arch/processor-ns9360.h> |
18 | #include <asm/arch-ns9xxx/regs-sys-ns9360.h> | 18 | #include <asm/arch/regs-sys-ns9360.h> |
19 | 19 | ||
20 | void ns9360_reset(char mode) | 20 | void ns9360_reset(char mode) |
21 | { | 21 | { |
diff --git a/arch/arm/mach-ns9xxx/time-ns9360.c b/arch/arm/mach-ns9xxx/time-ns9360.c index 4d573c9793ed..66bd58262974 100644 --- a/arch/arm/mach-ns9xxx/time-ns9360.c +++ b/arch/arm/mach-ns9xxx/time-ns9360.c | |||
@@ -15,9 +15,9 @@ | |||
15 | #include <linux/clocksource.h> | 15 | #include <linux/clocksource.h> |
16 | #include <linux/clockchips.h> | 16 | #include <linux/clockchips.h> |
17 | 17 | ||
18 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 18 | #include <asm/arch/processor-ns9360.h> |
19 | #include <asm/arch-ns9xxx/regs-sys-ns9360.h> | 19 | #include <asm/arch/regs-sys-ns9360.h> |
20 | #include <asm/arch-ns9xxx/irqs.h> | 20 | #include <asm/arch/irqs.h> |
21 | #include <asm/arch/system.h> | 21 | #include <asm/arch/system.h> |
22 | #include "generic.h" | 22 | #include "generic.h" |
23 | 23 | ||
diff --git a/drivers/mtd/maps/ipaq-flash.c b/drivers/mtd/maps/ipaq-flash.c index a806119797e0..113b1062020d 100644 --- a/drivers/mtd/maps/ipaq-flash.c +++ b/drivers/mtd/maps/ipaq-flash.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #include <asm/hardware.h> | 27 | #include <asm/hardware.h> |
28 | #include <asm/arch-sa1100/h3600.h> | 28 | #include <asm/arch/h3600.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | 30 | ||
31 | 31 | ||
diff --git a/include/asm-arm/arch-ns9xxx/debug-macro.S b/include/asm-arm/arch-ns9xxx/debug-macro.S index b21b93eb2dbc..94680950ee67 100644 --- a/include/asm-arm/arch-ns9xxx/debug-macro.S +++ b/include/asm-arm/arch-ns9xxx/debug-macro.S | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | #include <asm/hardware.h> | 10 | #include <asm/hardware.h> |
11 | 11 | ||
12 | #include <asm/arch-ns9xxx/regs-board-a9m9750dev.h> | 12 | #include <asm/arch/regs-board-a9m9750dev.h> |
13 | 13 | ||
14 | .macro addruart,rx | 14 | .macro addruart,rx |
15 | mrc p15, 0, \rx, c1, c0 | 15 | mrc p15, 0, \rx, c1, c0 |
diff --git a/include/asm-arm/arch-ns9xxx/entry-macro.S b/include/asm-arm/arch-ns9xxx/entry-macro.S index 89a21c530468..2f6c89ddf958 100644 --- a/include/asm-arm/arch-ns9xxx/entry-macro.S +++ b/include/asm-arm/arch-ns9xxx/entry-macro.S | |||
@@ -9,7 +9,7 @@ | |||
9 | * the Free Software Foundation. | 9 | * the Free Software Foundation. |
10 | */ | 10 | */ |
11 | #include <asm/hardware.h> | 11 | #include <asm/hardware.h> |
12 | #include <asm/arch-ns9xxx/regs-sys-common.h> | 12 | #include <asm/arch/regs-sys-common.h> |
13 | 13 | ||
14 | .macro get_irqnr_preamble, base, tmp | 14 | .macro get_irqnr_preamble, base, tmp |
15 | ldr \base, =SYS_ISRADDR | 15 | ldr \base, =SYS_ISRADDR |
diff --git a/include/asm-arm/arch-ns9xxx/processor.h b/include/asm-arm/arch-ns9xxx/processor.h index f7b53b65de81..3137e5ba01a9 100644 --- a/include/asm-arm/arch-ns9xxx/processor.h +++ b/include/asm-arm/arch-ns9xxx/processor.h | |||
@@ -11,7 +11,7 @@ | |||
11 | #ifndef __ASM_ARCH_PROCESSOR_H | 11 | #ifndef __ASM_ARCH_PROCESSOR_H |
12 | #define __ASM_ARCH_PROCESSOR_H | 12 | #define __ASM_ARCH_PROCESSOR_H |
13 | 13 | ||
14 | #include <asm/arch-ns9xxx/module.h> | 14 | #include <asm/arch/module.h> |
15 | 15 | ||
16 | #define processor_is_ns9210() (0 \ | 16 | #define processor_is_ns9210() (0 \ |
17 | || module_is_cc7ucamry() \ | 17 | || module_is_cc7ucamry() \ |
diff --git a/include/asm-arm/arch-ns9xxx/system.h b/include/asm-arm/arch-ns9xxx/system.h index 1348073afe48..c2941684d667 100644 --- a/include/asm-arm/arch-ns9xxx/system.h +++ b/include/asm-arm/arch-ns9xxx/system.h | |||
@@ -12,8 +12,8 @@ | |||
12 | #define __ASM_ARCH_SYSTEM_H | 12 | #define __ASM_ARCH_SYSTEM_H |
13 | 13 | ||
14 | #include <asm/proc-fns.h> | 14 | #include <asm/proc-fns.h> |
15 | #include <asm/arch-ns9xxx/processor.h> | 15 | #include <asm/arch/processor.h> |
16 | #include <asm/arch-ns9xxx/processor-ns9360.h> | 16 | #include <asm/arch/processor-ns9360.h> |
17 | 17 | ||
18 | static inline void arch_idle(void) | 18 | static inline void arch_idle(void) |
19 | { | 19 | { |
diff --git a/include/asm-arm/arch-omap/board.h b/include/asm-arm/arch-omap/board.h index db44c5d1f1a0..99564c70f128 100644 --- a/include/asm-arm/arch-omap/board.h +++ b/include/asm-arm/arch-omap/board.h | |||
@@ -154,7 +154,7 @@ struct omap_version_config { | |||
154 | }; | 154 | }; |
155 | 155 | ||
156 | 156 | ||
157 | #include <asm-arm/arch-omap/board-nokia.h> | 157 | #include <asm/arch/board-nokia.h> |
158 | 158 | ||
159 | struct omap_board_config_entry { | 159 | struct omap_board_config_entry { |
160 | u16 tag; | 160 | u16 tag; |