summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/spear320.c
diff options
context:
space:
mode:
authorviresh kumar <viresh.kumar@st.com>2011-03-07 05:57:05 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-03-09 10:49:46 +0100
commitc2c07831a76ca64670df9cc315087962f6fdceac (patch)
tree14ee9346fd4aaeaa42754c2e69932c74a3e0fa61 /arch/arm/mach-spear3xx/spear320.c
parentARM: 6790/1: SPEAr: Clock Framework: Rename usbd clock and align apb_clk entry (diff)
downloadlinux-c2c07831a76ca64670df9cc315087962f6fdceac.tar.xz
linux-c2c07831a76ca64670df9cc315087962f6fdceac.zip
ARM: 6791/1: SPEAr3xx: Declare device structures after shirq code
Order of declarations should be: pmx_devs, shirq support, amba_devices, plat_devices, routines. This patch moves gpio_device below shirq support. 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/mach-spear3xx/spear320.c')
-rw-r--r--arch/arm/mach-spear3xx/spear320.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-spear3xx/spear320.c b/arch/arm/mach-spear3xx/spear320.c
index 6dba6286c33c..8ba3ff252942 100644
--- a/arch/arm/mach-spear3xx/spear320.c
+++ b/arch/arm/mach-spear3xx/spear320.c
@@ -384,8 +384,6 @@ struct pmx_driver pmx_driver = {
.mux_reg = {.offset = PAD_MUX_CONFIG_REG, .mask = 0x00007fff},
};
-/* Add spear320 specific devices here */
-
/* spear3xx shared irq */
struct shirq_dev_config shirq_ras1_config[] = {
{
@@ -510,6 +508,8 @@ struct spear_shirq shirq_intrcomm_ras = {
},
};
+/* Add spear320 specific devices here */
+
/* spear320 routines */
void __init spear320_init(void)
{