ARM: 6935/1: SPEAR3xx: Rename register/irq defines to remove naming conflicts
Prefix register and irq defintions to remove naming conflicts between the three SPEAr3xx platforms. Reviewed-by: Stanley Miao <stanley.miao@windriver.com> Signed-off-by: Ryan Mallon <ryan@bluewatersys.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
committed by
Russell King
parent
f6558bf92a
commit
61e72bca04
@@ -25,7 +25,7 @@
|
||||
/* gpio device registration */
|
||||
static struct pl061_platform_data gpio_plat_data = {
|
||||
.gpio_base = 0,
|
||||
.irq_base = SPEAR_GPIO_INT_BASE,
|
||||
.irq_base = SPEAR3XX_GPIO_INT_BASE,
|
||||
};
|
||||
|
||||
struct amba_device gpio_device = {
|
||||
@@ -38,7 +38,7 @@ struct amba_device gpio_device = {
|
||||
.end = SPEAR3XX_ICM3_GPIO_BASE + SZ_4K - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
.irq = {IRQ_BASIC_GPIO, NO_IRQ},
|
||||
.irq = {SPEAR3XX_IRQ_BASIC_GPIO, NO_IRQ},
|
||||
};
|
||||
|
||||
/* uart device registration */
|
||||
@@ -51,7 +51,7 @@ struct amba_device uart_device = {
|
||||
.end = SPEAR3XX_ICM1_UART_BASE + SZ_4K - 1,
|
||||
.flags = IORESOURCE_MEM,
|
||||
},
|
||||
.irq = {IRQ_UART, NO_IRQ},
|
||||
.irq = {SPEAR3XX_IRQ_UART, NO_IRQ},
|
||||
};
|
||||
|
||||
/* Do spear3xx familiy common initialization part here */
|
||||
|
||||
Reference in New Issue
Block a user