diff options
author | viresh kumar <viresh.kumar@st.com> | 2011-05-20 03:34:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-05-20 17:34:24 -0400 |
commit | 1d23d2fcfa3f2e7ee90bd2779a842ee737d15365 (patch) | |
tree | 9904819b2fbfcff434f385f497c4379e13bd6fd6 /arch/arm | |
parent | 6618c3ada039116ca0392ce955df081adc5f015c (diff) |
ARM: 6929/1: SPEAr3xx: Append spear3** with global device structures
Reviewed-by: Stanley Miao <stanley.miao@windriver.com>
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')
-rw-r--r-- | arch/arm/mach-spear3xx/include/mach/generic.h | 6 | ||||
-rw-r--r-- | arch/arm/mach-spear3xx/spear300.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-spear3xx/spear300_evb.c | 6 | ||||
-rw-r--r-- | arch/arm/mach-spear3xx/spear310_evb.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-spear3xx/spear320_evb.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-spear3xx/spear3xx.c | 4 |
6 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-spear3xx/include/mach/generic.h b/arch/arm/mach-spear3xx/include/mach/generic.h index 8b04f085e8a3..b8f31c3935f7 100644 --- a/arch/arm/mach-spear3xx/include/mach/generic.h +++ b/arch/arm/mach-spear3xx/include/mach/generic.h | |||
@@ -31,8 +31,8 @@ | |||
31 | #define SPEAR_GPT0_CHAN1_IRQ SPEAR3XX_IRQ_CPU_GPT1_2 | 31 | #define SPEAR_GPT0_CHAN1_IRQ SPEAR3XX_IRQ_CPU_GPT1_2 |
32 | 32 | ||
33 | /* Add spear3xx family device structure declarations here */ | 33 | /* Add spear3xx family device structure declarations here */ |
34 | extern struct amba_device gpio_device; | 34 | extern struct amba_device spear3xx_gpio_device; |
35 | extern struct amba_device uart_device; | 35 | extern struct amba_device spear3xx_uart_device; |
36 | extern struct sys_timer spear3xx_timer; | 36 | extern struct sys_timer spear3xx_timer; |
37 | 37 | ||
38 | /* Add spear3xx family function declarations here */ | 38 | /* Add spear3xx family function declarations here */ |
@@ -98,7 +98,7 @@ extern struct pmx_dev spear3xx_pmx_plgpio_45_46_49_50; | |||
98 | /* spear300 declarations */ | 98 | /* spear300 declarations */ |
99 | #ifdef CONFIG_MACH_SPEAR300 | 99 | #ifdef CONFIG_MACH_SPEAR300 |
100 | /* Add spear300 machine device structure declarations here */ | 100 | /* Add spear300 machine device structure declarations here */ |
101 | extern struct amba_device gpio1_device; | 101 | extern struct amba_device spear300_gpio1_device; |
102 | 102 | ||
103 | /* pad mux modes */ | 103 | /* pad mux modes */ |
104 | extern struct pmx_mode spear300_nand_mode; | 104 | extern struct pmx_mode spear300_nand_mode; |
diff --git a/arch/arm/mach-spear3xx/spear300.c b/arch/arm/mach-spear3xx/spear300.c index 67349b50b18e..a5e46b4ade20 100644 --- a/arch/arm/mach-spear3xx/spear300.c +++ b/arch/arm/mach-spear3xx/spear300.c | |||
@@ -430,7 +430,7 @@ static struct pl061_platform_data gpio1_plat_data = { | |||
430 | .irq_base = SPEAR300_GPIO1_INT_BASE, | 430 | .irq_base = SPEAR300_GPIO1_INT_BASE, |
431 | }; | 431 | }; |
432 | 432 | ||
433 | struct amba_device gpio1_device = { | 433 | struct amba_device spear300_gpio1_device = { |
434 | .dev = { | 434 | .dev = { |
435 | .init_name = "gpio1", | 435 | .init_name = "gpio1", |
436 | .platform_data = &gpio1_plat_data, | 436 | .platform_data = &gpio1_plat_data, |
diff --git a/arch/arm/mach-spear3xx/spear300_evb.c b/arch/arm/mach-spear3xx/spear300_evb.c index 405ae098cc87..69006f694220 100644 --- a/arch/arm/mach-spear3xx/spear300_evb.c +++ b/arch/arm/mach-spear3xx/spear300_evb.c | |||
@@ -34,11 +34,11 @@ static struct pmx_dev *pmx_devs[] = { | |||
34 | 34 | ||
35 | static struct amba_device *amba_devs[] __initdata = { | 35 | static struct amba_device *amba_devs[] __initdata = { |
36 | /* spear3xx specific devices */ | 36 | /* spear3xx specific devices */ |
37 | &gpio_device, | 37 | &spear3xx_gpio_device, |
38 | &uart_device, | 38 | &spear3xx_uart_device, |
39 | 39 | ||
40 | /* spear300 specific devices */ | 40 | /* spear300 specific devices */ |
41 | &gpio1_device, | 41 | &spear300_gpio1_device, |
42 | }; | 42 | }; |
43 | 43 | ||
44 | static struct platform_device *plat_devs[] __initdata = { | 44 | static struct platform_device *plat_devs[] __initdata = { |
diff --git a/arch/arm/mach-spear3xx/spear310_evb.c b/arch/arm/mach-spear3xx/spear310_evb.c index 9d4aadbe24e9..c8684ce1f9b3 100644 --- a/arch/arm/mach-spear3xx/spear310_evb.c +++ b/arch/arm/mach-spear3xx/spear310_evb.c | |||
@@ -42,8 +42,8 @@ static struct pmx_dev *pmx_devs[] = { | |||
42 | 42 | ||
43 | static struct amba_device *amba_devs[] __initdata = { | 43 | static struct amba_device *amba_devs[] __initdata = { |
44 | /* spear3xx specific devices */ | 44 | /* spear3xx specific devices */ |
45 | &gpio_device, | 45 | &spear3xx_gpio_device, |
46 | &uart_device, | 46 | &spear3xx_uart_device, |
47 | 47 | ||
48 | /* spear310 specific devices */ | 48 | /* spear310 specific devices */ |
49 | }; | 49 | }; |
diff --git a/arch/arm/mach-spear3xx/spear320_evb.c b/arch/arm/mach-spear3xx/spear320_evb.c index 7e5f17f66b62..a12b353940d6 100644 --- a/arch/arm/mach-spear3xx/spear320_evb.c +++ b/arch/arm/mach-spear3xx/spear320_evb.c | |||
@@ -39,8 +39,8 @@ static struct pmx_dev *pmx_devs[] = { | |||
39 | 39 | ||
40 | static struct amba_device *amba_devs[] __initdata = { | 40 | static struct amba_device *amba_devs[] __initdata = { |
41 | /* spear3xx specific devices */ | 41 | /* spear3xx specific devices */ |
42 | &gpio_device, | 42 | &spear3xx_gpio_device, |
43 | &uart_device, | 43 | &spear3xx_uart_device, |
44 | 44 | ||
45 | /* spear320 specific devices */ | 45 | /* spear320 specific devices */ |
46 | }; | 46 | }; |
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index b4378a056294..10af45da86a0 100644 --- a/arch/arm/mach-spear3xx/spear3xx.c +++ b/arch/arm/mach-spear3xx/spear3xx.c | |||
@@ -28,7 +28,7 @@ static struct pl061_platform_data gpio_plat_data = { | |||
28 | .irq_base = SPEAR3XX_GPIO_INT_BASE, | 28 | .irq_base = SPEAR3XX_GPIO_INT_BASE, |
29 | }; | 29 | }; |
30 | 30 | ||
31 | struct amba_device gpio_device = { | 31 | struct amba_device spear3xx_gpio_device = { |
32 | .dev = { | 32 | .dev = { |
33 | .init_name = "gpio", | 33 | .init_name = "gpio", |
34 | .platform_data = &gpio_plat_data, | 34 | .platform_data = &gpio_plat_data, |
@@ -42,7 +42,7 @@ struct amba_device gpio_device = { | |||
42 | }; | 42 | }; |
43 | 43 | ||
44 | /* uart device registration */ | 44 | /* uart device registration */ |
45 | struct amba_device uart_device = { | 45 | struct amba_device spear3xx_uart_device = { |
46 | .dev = { | 46 | .dev = { |
47 | .init_name = "uart", | 47 | .init_name = "uart", |
48 | }, | 48 | }, |