OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
126187f
)
[AVR32] gpio_*_cansleep() fix
author
David Brownell
<david-b@pacbell.net>
Thu, 24 May 2007 20:52:08 +0000
(13:52 -0700)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Thu, 14 Jun 2007 16:30:49 +0000
(18:30 +0200)
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>
include/asm-avr32/arch-at32ap/gpio.h
patch
|
blob
|
history
diff --git
a/include/asm-avr32/arch-at32ap/gpio.h
b/include/asm-avr32/arch-at32ap/gpio.h
index
80a21aa
..
af7f953
100644
(file)
--- 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;