diff options
author | Rob Herring <rob.herring@calxeda.com> | 2011-12-09 15:04:02 -0500 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-01-04 11:10:20 -0500 |
commit | 2b84112718ea816bb1147d6eabd4469143f89ddd (patch) | |
tree | 0687e5d8cd5ebf9fa5ea339c9949e3160ec70db2 /arch/arm/mach-realview/realview_pbx.c | |
parent | f2ab2ba09e081fbce068c0adc205ad3f25a3b626 (diff) |
ARM: realview: convert pl061 no irq to 0 instead of -1
Drivers should use 0 for no irq, so convert realview platforms pl061
platform_data over to use 0.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/realview_pbx.c')
-rw-r--r-- | arch/arm/mach-realview/realview_pbx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-realview/realview_pbx.c b/arch/arm/mach-realview/realview_pbx.c index 63c4114afae9..be3a01fe00b9 100644 --- a/arch/arm/mach-realview/realview_pbx.c +++ b/arch/arm/mach-realview/realview_pbx.c | |||
@@ -124,17 +124,14 @@ static void __init realview_pbx_map_io(void) | |||
124 | 124 | ||
125 | static struct pl061_platform_data gpio0_plat_data = { | 125 | static struct pl061_platform_data gpio0_plat_data = { |
126 | .gpio_base = 0, | 126 | .gpio_base = 0, |
127 | .irq_base = -1, | ||
128 | }; | 127 | }; |
129 | 128 | ||
130 | static struct pl061_platform_data gpio1_plat_data = { | 129 | static struct pl061_platform_data gpio1_plat_data = { |
131 | .gpio_base = 8, | 130 | .gpio_base = 8, |
132 | .irq_base = -1, | ||
133 | }; | 131 | }; |
134 | 132 | ||
135 | static struct pl061_platform_data gpio2_plat_data = { | 133 | static struct pl061_platform_data gpio2_plat_data = { |
136 | .gpio_base = 16, | 134 | .gpio_base = 16, |
137 | .irq_base = -1, | ||
138 | }; | 135 | }; |
139 | 136 | ||
140 | static struct pl022_ssp_controller ssp0_plat_data = { | 137 | static struct pl022_ssp_controller ssp0_plat_data = { |