mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
4baa992243
commit
bccf650270
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#endif
|
||||
|
||||
#include <asm/hardware.h>
|
||||
#include <asm/arch-sa1100/h3600.h>
|
||||
#include <asm/arch/h3600.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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() \
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue