Skip to content

Commit

Permalink
[AVR32] gpio_*_cansleep() fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Haavard Skinnemoen committed Jun 14, 2007
1 parent 126187f commit 2ae795b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-avr32/arch-at32ap/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2ae795b

Please sign in to comment.