aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/arch-at32ap/gpio.h
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-05-24 16:52:08 -0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-14 12:30:49 -0400
commit2ae795b02aa46a99d845958ae8d7bc8afa04292b (patch)
tree7823caebc8a64f37b98020c4d29be9c415127cdb /include/asm-avr32/arch-at32ap/gpio.h
parent126187f1e00048abec4d4a2eb3eeae396fbaa944 (diff)
[AVR32] gpio_*_cansleep() fix
The AVR32 <asm/gpio.h> was missing the gpio_*_cansleep() calls, breaking compilation for some code using them. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/arch-at32ap/gpio.h')
-rw-r--r--include/asm-avr32/arch-at32ap/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/gpio.h b/include/asm-avr32/arch-at32ap/gpio.h
index 80a21aa9ae77..af7f9535bab3 100644
--- a/include/asm-avr32/arch-at32ap/gpio.h
+++ b/include/asm-avr32/arch-at32ap/gpio.h
@@ -14,6 +14,8 @@ int gpio_direction_output(unsigned int gpio, int value);
14int gpio_get_value(unsigned int gpio); 14int gpio_get_value(unsigned int gpio);
15void gpio_set_value(unsigned int gpio, int value); 15void gpio_set_value(unsigned int gpio, int value);
16 16
17#include <asm-generic/gpio.h> /* cansleep wrappers */
18
17static inline int gpio_to_irq(unsigned int gpio) 19static inline int gpio_to_irq(unsigned int gpio)
18{ 20{
19 return gpio + GPIO_IRQ_BASE; 21 return gpio + GPIO_IRQ_BASE;