Browse Source

[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>
David Brownell 18 năm trước cách đây
mục cha
commit
2ae795b02a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      include/asm-avr32/arch-at32ap/gpio.h

+ 2 - 0
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;