Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2ae795b02aa46a99d845958ae8d7bc8afa04292b
Commit:     2ae795b02aa46a99d845958ae8d7bc8afa04292b
Parent:     126187f1e00048abec4d4a2eb3eeae396fbaa944
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Thu May 24 13:52:08 2007 -0700
Committer:  Haavard Skinnemoen <[EMAIL PROTECTED]>
CommitDate: Thu Jun 14 18:30:49 2007 +0200

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]>
---
 include/asm-avr32/arch-at32ap/gpio.h |    2 ++
 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 80a21aa..af7f953 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to