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/at91sam9260.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/at91sam9260.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c index b84a9f642f59..1e9c79f5a6ed 100644 --- a/arch/arm/mach-at91/at91sam9260.c +++ b/arch/arm/mach-at91/at91sam9260.c | |||
@@ -273,15 +273,15 @@ void __init at91sam9260_set_console_clock(int id) | |||
273 | static struct at91_gpio_bank at91sam9260_gpio[] = { | 273 | static struct at91_gpio_bank at91sam9260_gpio[] = { |
274 | { | 274 | { |
275 | .id = AT91SAM9260_ID_PIOA, | 275 | .id = AT91SAM9260_ID_PIOA, |
276 | .offset = AT91_PIOA, | 276 | .regbase = AT91SAM9260_BASE_PIOA, |
277 | .clock = &pioA_clk, | 277 | .clock = &pioA_clk, |
278 | }, { | 278 | }, { |
279 | .id = AT91SAM9260_ID_PIOB, | 279 | .id = AT91SAM9260_ID_PIOB, |
280 | .offset = AT91_PIOB, | 280 | .regbase = AT91SAM9260_BASE_PIOB, |
281 | .clock = &pioB_clk, | 281 | .clock = &pioB_clk, |
282 | }, { | 282 | }, { |
283 | .id = AT91SAM9260_ID_PIOC, | 283 | .id = AT91SAM9260_ID_PIOC, |
284 | .offset = AT91_PIOC, | 284 | .regbase = AT91SAM9260_BASE_PIOC, |
285 | .clock = &pioC_clk, | 285 | .clock = &pioC_clk, |
286 | } | 286 | } |
287 | }; | 287 | }; |