diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-04 01:20:22 +0200 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-10-20 15:02:39 +0200 |
commit | a08615b2dae45e0ffdf10fad62338cff2fba27e0 (patch) | |
tree | a1f0237db785e23eaa7aacbb5caf3fa0a799e168 /arch/arm/mach-at91/at91sam9260.c | |
parent | 7ac38053538f45032f8f52e99d5cd3368c06037c (diff) | |
download | barebox-a08615b2dae45e0ffdf10fad62338cff2fba27e0.tar.gz barebox-a08615b2dae45e0ffdf10fad62338cff2fba27e0.tar.xz |
at91sam9: switch to the same api as the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9260.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c index 04e954b039..1a6e356482 100644 --- a/arch/arm/mach-at91/at91sam9260.c +++ b/arch/arm/mach-at91/at91sam9260.c @@ -5,14 +5,14 @@ static struct at91_gpio_bank at91sam9260_gpio[] = { { - .id = AT91C_ID_PIOA, - .regbase = (void __iomem *)AT91C_BASE_PIOA, + .id = AT91SAM9260_ID_PIOA, + .offset = AT91_PIOA, }, { - .id = AT91C_ID_PIOB, - .regbase = (void __iomem *)AT91C_BASE_PIOB, + .id = AT91SAM9260_ID_PIOB, + .offset = AT91_PIOB, }, { - .id = AT91C_ID_PIOC, - .regbase = (void __iomem *)AT91C_BASE_PIOC, + .id = AT91SAM9260_ID_PIOC, + .offset = AT91_PIOC, } }; |