ARM: 6787/1: SPEAr: Reorder #includes in .h & .c files.
authorviresh kumar <viresh.kumar@st.com>
Mon, 7 Mar 2011 04:57:01 +0000 (05:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 09:49:45 +0000 (09:49 +0000)
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>
12 files changed:
arch/arm/mach-spear3xx/clock.c
arch/arm/mach-spear3xx/include/mach/entry-macro.S
arch/arm/mach-spear3xx/include/mach/generic.h
arch/arm/mach-spear3xx/spear300.c
arch/arm/mach-spear3xx/spear310.c
arch/arm/mach-spear3xx/spear320.c
arch/arm/mach-spear6xx/clock.c
arch/arm/mach-spear6xx/include/mach/entry-macro.S
arch/arm/mach-spear6xx/include/mach/generic.h
arch/arm/mach-spear6xx/spear6xx.c
arch/arm/plat-spear/include/plat/system.h
arch/arm/plat-spear/time.c

index 8ae4ad0326a929d15b15be1fbfd290310fd1bb8e..5bfeb6f8bcc0ecfc42c2d9518a569c6d439255da 100644 (file)
@@ -13,8 +13,8 @@
 
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <mach/misc_regs.h>
 #include <plat/clock.h>
+#include <mach/misc_regs.h>
 
 /* root clks */
 /* 32 KHz oscillator clock */
index 947625d6b48d33485f6de3bb62b660e9492ef02b..e8e7dc05430308e95e62cb7e657a62a918c035b3 100644 (file)
@@ -11,9 +11,9 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <asm/hardware/vic.h>
 #include <mach/hardware.h>
 #include <mach/spear.h>
-#include <asm/hardware/vic.h>
 
                .macro  disable_fiq
                .endm
index e7d2de84e9a507e8538480a9cbc99c250ec71258..aaaa04620d22799483d2a9a2e1a13fcff8b299fe 100644 (file)
 #ifndef __MACH_GENERIC_H
 #define __MACH_GENERIC_H
 
-#include <asm/mach/time.h>
-#include <asm/mach/map.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/amba/bus.h>
+#include <asm/mach/time.h>
+#include <asm/mach/map.h>
 #include <plat/padmux.h>
 
 /* spear3xx declarations */
index 7e01677e2fc266b0199e753f234701503b643d20..80ca04a80491b27bf62ec8ce713568543c28844d 100644 (file)
@@ -15,9 +15,9 @@
 #include <linux/amba/pl061.h>
 #include <linux/ptrace.h>
 #include <asm/irq.h>
+#include <plat/shirq.h>
 #include <mach/generic.h>
 #include <mach/spear.h>
-#include <plat/shirq.h>
 
 /* pad multiplexing support */
 /* muxing registers */
index f38eb2146e2fe8077a2870a4a3fffc61548ed04e..ca1109db555655a34853eea562961901b8c675e2 100644 (file)
@@ -13,9 +13,9 @@
 
 #include <linux/ptrace.h>
 #include <asm/irq.h>
+#include <plat/shirq.h>
 #include <mach/generic.h>
 #include <mach/spear.h>
-#include <plat/shirq.h>
 
 /* pad multiplexing support */
 /* muxing registers */
index 456bb331340f853abb3e2aaed946f55fd11c9878..ceb04e813f22e636fe04a923e4c401017b988652 100644 (file)
@@ -13,9 +13,9 @@
 
 #include <linux/ptrace.h>
 #include <asm/irq.h>
+#include <plat/shirq.h>
 #include <mach/generic.h>
 #include <mach/spear.h>
-#include <plat/shirq.h>
 
 /* pad multiplexing support */
 /* muxing registers */
index 91719524766bfcb5d17a9502e9eb97b540ddbb34..4f351b49c14d33c6991d3893c4dfb23071a7804e 100644 (file)
@@ -13,8 +13,8 @@
 
 #include <linux/init.h>
 #include <linux/kernel.h>
-#include <mach/misc_regs.h>
 #include <plat/clock.h>
+#include <mach/misc_regs.h>
 
 /* root clks */
 /* 32 KHz oscillator clock */
index 9eaecaeafcf0f62e5b50b7770584b4ed52397c8a..bc55e8b04d1281ed7de2f894bbf5b8f04e266361 100644 (file)
@@ -11,9 +11,9 @@
  * warranty of any kind, whether express or implied.
  */
 
+#include <asm/hardware/vic.h>
 #include <mach/hardware.h>
 #include <mach/spear.h>
-#include <asm/hardware/vic.h>
 
                .macro  disable_fiq
                .endm
index e5967ededdc3b364396b185ff853f18231178f84..94cf4a648b57394f22c03776ef433d090ab50ed2 100644 (file)
 #ifndef __MACH_GENERIC_H
 #define __MACH_GENERIC_H
 
-#include <asm/mach/time.h>
-#include <asm/mach/map.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/amba/bus.h>
+#include <asm/mach/time.h>
+#include <asm/mach/map.h>
 
 /*
  * Each GPT has 2 timer channels
index 9cd3a688f6dcd78f5059146d6b13971265f0053f..2d95715b733ec2174f52da4ecb7e9371d3d0d454 100644 (file)
@@ -18,8 +18,8 @@
 #include <asm/hardware/vic.h>
 #include <asm/irq.h>
 #include <asm/mach/arch.h>
-#include <mach/irqs.h>
 #include <mach/generic.h>
+#include <mach/irqs.h>
 #include <mach/spear.h>
 
 /* Add spear6xx machines common devices here */
index 55a4e405d578428150f3567e70658a6a7707fdda..d52db6807ce640b24e9ad3f88398e5e53df723a1 100644 (file)
@@ -14,8 +14,8 @@
 #ifndef __PLAT_SYSTEM_H
 #define __PLAT_SYSTEM_H
 
-#include <asm/hardware/sp810.h>
 #include <linux/io.h>
+#include <asm/hardware/sp810.h>
 #include <mach/spear.h>
 
 static inline void arch_idle(void)
index 100672fa48e130948f8619b5124091304e8995d4..de0a81b33e2ff1657aed82f6e5072935ac7f6286 100644 (file)
 #include <linux/time.h>
 #include <linux/irq.h>
 #include <asm/mach/time.h>
-#include <mach/irqs.h>
+#include <mach/generic.h>
 #include <mach/hardware.h>
+#include <mach/irqs.h>
 #include <mach/spear.h>
-#include <mach/generic.h>
 
 /*
  * We would use TIMER0 and TIMER1 as clockevent and clocksource.