diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-11-29 12:13:44 +0100 |
---|---|---|
committer | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-12-09 13:21:39 +0100 |
commit | 934e3b5240ab655782b0844989db928265e6f5df (patch) | |
tree | 8204df5572ede963eccbca0fa2d1645d34e6a71a | |
parent | 9ecc922e7500036e5b7acecf2c8c98510c183560 (diff) |
at91: redefine legacy GPIO PIN_BASE
In order to get the very same value for legacy pin definitions and new gpio
definitions set the legacy PIN_BASE to 0.
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
-rw-r--r-- | arch/arm/include/asm/arch-at91/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-at91/gpio.h b/arch/arm/include/asm/arch-at91/gpio.h index b340afef19d..ff6142b8aa6 100644 --- a/arch/arm/include/asm/arch-at91/gpio.h +++ b/arch/arm/include/asm/arch-at91/gpio.h @@ -16,7 +16,7 @@ #ifdef CONFIG_ATMEL_LEGACY -#define PIN_BASE 32 +#define PIN_BASE 0 #define MAX_GPIO_BANKS 5 |