aboutsummaryrefslogtreecommitdiff
path: root/include/asm-avr32/arch-at32ap
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-05-24 13:52:08 -0700
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-06-14 18:30:49 +0200
commit2ae795b02aa46a99d845958ae8d7bc8afa04292b (patch)
tree7823caebc8a64f37b98020c4d29be9c415127cdb /include/asm-avr32/arch-at32ap
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')
-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 80a21aa9ae7..af7f9535bab 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);
int gpio_get_value(unsigned int gpio);
void gpio_set_value(unsigned int gpio, int value);
+#include <asm-generic/gpio.h> /* cansleep wrappers */
+
static inline int gpio_to_irq(unsigned int gpio)
{
return gpio + GPIO_IRQ_BASE;