aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9rl.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/at91sam9rl.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/at91sam9rl.c')
-rw-r--r--arch/arm/mach-at91/at91sam9rl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
index a238105d2c11..c4004e21d805 100644
--- a/arch/arm/mach-at91/at91sam9rl.c
+++ b/arch/arm/mach-at91/at91sam9rl.c
@@ -246,19 +246,19 @@ void __init at91sam9rl_set_console_clock(int id)
246static struct at91_gpio_bank at91sam9rl_gpio[] = { 246static struct at91_gpio_bank at91sam9rl_gpio[] = {
247 { 247 {
248 .id = AT91SAM9RL_ID_PIOA, 248 .id = AT91SAM9RL_ID_PIOA,
249 .offset = AT91_PIOA, 249 .regbase = AT91SAM9RL_BASE_PIOA,
250 .clock = &pioA_clk, 250 .clock = &pioA_clk,
251 }, { 251 }, {
252 .id = AT91SAM9RL_ID_PIOB, 252 .id = AT91SAM9RL_ID_PIOB,
253 .offset = AT91_PIOB, 253 .regbase = AT91SAM9RL_BASE_PIOB,
254 .clock = &pioB_clk, 254 .clock = &pioB_clk,
255 }, { 255 }, {
256 .id = AT91SAM9RL_ID_PIOC, 256 .id = AT91SAM9RL_ID_PIOC,
257 .offset = AT91_PIOC, 257 .regbase = AT91SAM9RL_BASE_PIOC,
258 .clock = &pioC_clk, 258 .clock = &pioC_clk,
259 }, { 259 }, {
260 .id = AT91SAM9RL_ID_PIOD, 260 .id = AT91SAM9RL_ID_PIOD,
261 .offset = AT91_PIOD, 261 .regbase = AT91SAM9RL_BASE_PIOD,
262 .clock = &pioD_clk, 262 .clock = &pioD_clk,
263 } 263 }
264}; 264};