diff options
author | viresh kumar <viresh.kumar@st.com> | 2011-03-06 23:57:01 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-03-09 04:49:45 -0500 |
commit | 410782beba6aa75744881810ec0cdff4c66ca777 (patch) | |
tree | 337c3a4c7e14d02968c809e85fcf164b3e32e4c5 /arch/arm/plat-spear | |
parent | 4b9502e167d8370c2c5ee0cb20ab081bbebfffa8 (diff) |
ARM: 6787/1: SPEAr: Reorder #includes in .h & .c files.
Order of inclusion of .h files must be: <linux/...>, <asm/...>, <plat/...>,
<mach/...>. This patch corrects this ordering whereever it is not followed.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-spear')
-rw-r--r-- | arch/arm/plat-spear/include/plat/system.h | 2 | ||||
-rw-r--r-- | arch/arm/plat-spear/time.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/plat-spear/include/plat/system.h b/arch/arm/plat-spear/include/plat/system.h index 55a4e405d578..d52db6807ce6 100644 --- a/arch/arm/plat-spear/include/plat/system.h +++ b/arch/arm/plat-spear/include/plat/system.h | |||
@@ -14,8 +14,8 @@ | |||
14 | #ifndef __PLAT_SYSTEM_H | 14 | #ifndef __PLAT_SYSTEM_H |
15 | #define __PLAT_SYSTEM_H | 15 | #define __PLAT_SYSTEM_H |
16 | 16 | ||
17 | #include <asm/hardware/sp810.h> | ||
18 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <asm/hardware/sp810.h> | ||
19 | #include <mach/spear.h> | 19 | #include <mach/spear.h> |
20 | 20 | ||
21 | static inline void arch_idle(void) | 21 | static inline void arch_idle(void) |
diff --git a/arch/arm/plat-spear/time.c b/arch/arm/plat-spear/time.c index 100672fa48e1..de0a81b33e2f 100644 --- a/arch/arm/plat-spear/time.c +++ b/arch/arm/plat-spear/time.c | |||
@@ -20,10 +20,10 @@ | |||
20 | #include <linux/time.h> | 20 | #include <linux/time.h> |
21 | #include <linux/irq.h> | 21 | #include <linux/irq.h> |
22 | #include <asm/mach/time.h> | 22 | #include <asm/mach/time.h> |
23 | #include <mach/irqs.h> | 23 | #include <mach/generic.h> |
24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
25 | #include <mach/irqs.h> | ||
25 | #include <mach/spear.h> | 26 | #include <mach/spear.h> |
26 | #include <mach/generic.h> | ||
27 | 27 | ||
28 | /* | 28 | /* |
29 | * We would use TIMER0 and TIMER1 as clockevent and clocksource. | 29 | * We would use TIMER0 and TIMER1 as clockevent and clocksource. |