Skip to content

Commit

Permalink
[ARM] Fix explicit asm(-arm)?/arch-foo references
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Aug 2, 2008
1 parent 4baa992 commit bccf650
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 30 deletions.
12 changes: 6 additions & 6 deletions arch/arm/mach-ns9xxx/board-a9m9750dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
#include <asm/mach/map.h>
#include <asm/gpio.h>

#include <asm/arch-ns9xxx/board.h>
#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch-ns9xxx/regs-sys-ns9360.h>
#include <asm/arch-ns9xxx/regs-mem.h>
#include <asm/arch-ns9xxx/regs-bbu.h>
#include <asm/arch-ns9xxx/regs-board-a9m9750dev.h>
#include <asm/arch/board.h>
#include <asm/arch/processor-ns9360.h>
#include <asm/arch/regs-sys-ns9360.h>
#include <asm/arch/regs-mem.h>
#include <asm/arch/regs-bbu.h>
#include <asm/arch/regs-board-a9m9750dev.h>

#include "board-a9m9750dev.h"

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ns9xxx/gpio-ns9360.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
#include <linux/kernel.h>
#include <linux/module.h>

#include <asm/arch-ns9xxx/regs-bbu.h>
#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch/regs-bbu.h>
#include <asm/arch/processor-ns9360.h>

#include "gpio-ns9360.h"

Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-ns9xxx/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include <linux/spinlock.h>
#include <linux/module.h>

#include <asm/arch-ns9xxx/gpio.h>
#include <asm/arch-ns9xxx/processor.h>
#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch/gpio.h>
#include <asm/arch/processor.h>
#include <asm/arch/processor-ns9360.h>
#include <asm/bug.h>
#include <asm/types.h>
#include <asm/bitops.h>
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-ns9xxx/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include <asm/io.h>
#include <asm/mach/irq.h>
#include <asm/mach-types.h>
#include <asm/arch-ns9xxx/regs-sys-common.h>
#include <asm/arch-ns9xxx/irqs.h>
#include <asm/arch-ns9xxx/board.h>
#include <asm/arch/regs-sys-common.h>
#include <asm/arch/irqs.h>
#include <asm/arch/board.h>

#include "generic.h"

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ns9xxx/mach-cc9p9360dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch/processor-ns9360.h>

#include "board-a9m9750dev.h"
#include "generic.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-ns9xxx/mach-cc9p9360js.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <asm/mach/arch.h>
#include <asm/mach-types.h>

#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch/processor-ns9360.h>

#include "board-jscc9p9360.h"
#include "generic.h"
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ns9xxx/plat-serial8250.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include <linux/platform_device.h>
#include <linux/serial_8250.h>

#include <asm/arch-ns9xxx/regs-board-a9m9750dev.h>
#include <asm/arch-ns9xxx/board.h>
#include <asm/arch/regs-board-a9m9750dev.h>
#include <asm/arch/board.h>

#define DRIVER_NAME "serial8250"

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-ns9xxx/processor-ns9360.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

#include <asm/page.h>
#include <asm/mach/map.h>
#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch-ns9xxx/regs-sys-ns9360.h>
#include <asm/arch/processor-ns9360.h>
#include <asm/arch/regs-sys-ns9360.h>

void ns9360_reset(char mode)
{
Expand Down
6 changes: 3 additions & 3 deletions arch/arm/mach-ns9xxx/time-ns9360.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <linux/clocksource.h>
#include <linux/clockchips.h>

#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch-ns9xxx/regs-sys-ns9360.h>
#include <asm/arch-ns9xxx/irqs.h>
#include <asm/arch/processor-ns9360.h>
#include <asm/arch/regs-sys-ns9360.h>
#include <asm/arch/irqs.h>
#include <asm/arch/system.h>
#include "generic.h"

Expand Down
2 changes: 1 addition & 1 deletion drivers/mtd/maps/ipaq-flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#endif

#include <asm/hardware.h>
#include <asm/arch-sa1100/h3600.h>
#include <asm/arch/h3600.h>
#include <asm/io.h>


Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-ns9xxx/debug-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
#include <asm/hardware.h>

#include <asm/arch-ns9xxx/regs-board-a9m9750dev.h>
#include <asm/arch/regs-board-a9m9750dev.h>

.macro addruart,rx
mrc p15, 0, \rx, c1, c0
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-ns9xxx/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* the Free Software Foundation.
*/
#include <asm/hardware.h>
#include <asm/arch-ns9xxx/regs-sys-common.h>
#include <asm/arch/regs-sys-common.h>

.macro get_irqnr_preamble, base, tmp
ldr \base, =SYS_ISRADDR
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-ns9xxx/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef __ASM_ARCH_PROCESSOR_H
#define __ASM_ARCH_PROCESSOR_H

#include <asm/arch-ns9xxx/module.h>
#include <asm/arch/module.h>

#define processor_is_ns9210() (0 \
|| module_is_cc7ucamry() \
Expand Down
4 changes: 2 additions & 2 deletions include/asm-arm/arch-ns9xxx/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
#define __ASM_ARCH_SYSTEM_H

#include <asm/proc-fns.h>
#include <asm/arch-ns9xxx/processor.h>
#include <asm/arch-ns9xxx/processor-ns9360.h>
#include <asm/arch/processor.h>
#include <asm/arch/processor-ns9360.h>

static inline void arch_idle(void)
{
Expand Down
2 changes: 1 addition & 1 deletion include/asm-arm/arch-omap/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct omap_version_config {
};


#include <asm-arm/arch-omap/board-nokia.h>
#include <asm/arch/board-nokia.h>

struct omap_board_config_entry {
u16 tag;
Expand Down

0 comments on commit bccf650

Please sign in to comment.