diff options
Diffstat (limited to 'include/asm-arm/arch-at91/gpio.h')
-rw-r--r-- | include/asm-arm/arch-at91/gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/gpio.h b/include/asm-arm/arch-at91/gpio.h index e2d375b..bc53171 100644 --- a/include/asm-arm/arch-at91/gpio.h +++ b/include/asm-arm/arch-at91/gpio.h @@ -18,6 +18,8 @@ #include <asm/arch/at91_pio.h> #include <asm/arch/hardware.h> +#ifdef CONFIG_AT91_LEGACY + #define PIN_BASE 32 #define MAX_GPIO_BANKS 5 @@ -365,3 +367,4 @@ static inline int at91_get_gpio_value(unsigned pin) } #endif +#endif |