aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9261.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-09-16 11:37:50 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-11-28 09:50:37 -0500
commit80e91cb8023fbc07b2410c4ce5a2da12fbcebca4 (patch)
treec83ecd72567662ee3e59e35751c52b0f2293aa47 /arch/arm/mach-at91/at91sam9261.c
parent2f5893cf42ca10a1eb73bc527e2198847f4d0a79 (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/at91sam9261.c')
-rw-r--r--arch/arm/mach-at91/at91sam9261.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c
index 658a5185abfd..574aa6b6a78b 100644
--- a/arch/arm/mach-at91/at91sam9261.c
+++ b/arch/arm/mach-at91/at91sam9261.c
@@ -254,15 +254,15 @@ void __init at91sam9261_set_console_clock(int id)
254static struct at91_gpio_bank at91sam9261_gpio[] = { 254static struct at91_gpio_bank at91sam9261_gpio[] = {
255 { 255 {
256 .id = AT91SAM9261_ID_PIOA, 256 .id = AT91SAM9261_ID_PIOA,
257 .offset = AT91_PIOA, 257 .regbase = AT91SAM9261_BASE_PIOA,
258 .clock = &pioA_clk, 258 .clock = &pioA_clk,
259 }, { 259 }, {
260 .id = AT91SAM9261_ID_PIOB, 260 .id = AT91SAM9261_ID_PIOB,
261 .offset = AT91_PIOB, 261 .regbase = AT91SAM9261_BASE_PIOB,
262 .clock = &pioB_clk, 262 .clock = &pioB_clk,
263 }, { 263 }, {
264 .id = AT91SAM9261_ID_PIOC, 264 .id = AT91SAM9261_ID_PIOC,
265 .offset = AT91_PIOC, 265 .regbase = AT91SAM9261_BASE_PIOC,
266 .clock = &pioC_clk, 266 .clock = &pioC_clk,
267 } 267 }
268}; 268};