diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-09-16 11:37:50 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-11-28 09:50:37 -0500 |
commit | 80e91cb8023fbc07b2410c4ce5a2da12fbcebca4 (patch) | |
tree | c83ecd72567662ee3e59e35751c52b0f2293aa47 /arch/arm/mach-at91/at91rm9200.c | |
parent | 2f5893cf42ca10a1eb73bc527e2198847f4d0a79 (diff) |
ARM: at91: make gpio register base soc independant
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Reviewed-by: Ryan Mallon <rmallon@gmail.com>
Diffstat (limited to 'arch/arm/mach-at91/at91rm9200.c')
-rw-r--r-- | arch/arm/mach-at91/at91rm9200.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index 713d3bdbd284..8ce86751c2e2 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c | |||
@@ -271,19 +271,19 @@ void __init at91rm9200_set_console_clock(int id) | |||
271 | static struct at91_gpio_bank at91rm9200_gpio[] = { | 271 | static struct at91_gpio_bank at91rm9200_gpio[] = { |
272 | { | 272 | { |
273 | .id = AT91RM9200_ID_PIOA, | 273 | .id = AT91RM9200_ID_PIOA, |
274 | .offset = AT91_PIOA, | 274 | .regbase = AT91RM9200_BASE_PIOA, |
275 | .clock = &pioA_clk, | 275 | .clock = &pioA_clk, |
276 | }, { | 276 | }, { |
277 | .id = AT91RM9200_ID_PIOB, | 277 | .id = AT91RM9200_ID_PIOB, |
278 | .offset = AT91_PIOB, | 278 | .regbase = AT91RM9200_BASE_PIOB, |
279 | .clock = &pioB_clk, | 279 | .clock = &pioB_clk, |
280 | }, { | 280 | }, { |
281 | .id = AT91RM9200_ID_PIOC, | 281 | .id = AT91RM9200_ID_PIOC, |
282 | .offset = AT91_PIOC, | 282 | .regbase = AT91RM9200_BASE_PIOC, |
283 | .clock = &pioC_clk, | 283 | .clock = &pioC_clk, |
284 | }, { | 284 | }, { |
285 | .id = AT91RM9200_ID_PIOD, | 285 | .id = AT91RM9200_ID_PIOD, |
286 | .offset = AT91_PIOD, | 286 | .regbase = AT91RM9200_BASE_PIOD, |
287 | .clock = &pioD_clk, | 287 | .clock = &pioD_clk, |
288 | } | 288 | } |
289 | }; | 289 | }; |