From: Stephen Rothwell Date: Tue, 11 Oct 2011 01:46:49 +0000 (+1100) Subject: Merge remote-tracking branch 'at91/at91-next' X-Git-Tag: next-20111011~105 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0b2d104dc598b375fbf37e39d63a0fec1e41ddab;p=karo-tx-linux.git Merge remote-tracking branch 'at91/at91-next' Conflicts: arch/arm/mach-at91/at91sam9g45.c --- 0b2d104dc598b375fbf37e39d63a0fec1e41ddab diff --cc arch/arm/mach-at91/include/mach/gpio.h index 2b9a1f51210f,5213879ff903..e3fd225121c7 --- a/arch/arm/mach-at91/include/mach/gpio.h +++ b/arch/arm/mach-at91/include/mach/gpio.h @@@ -214,9 -212,14 +212,9 @@@ extern void at91_gpio_resume(void) */ #include -#include /* cansleep wrappers */ - -#define gpio_get_value __gpio_get_value -#define gpio_set_value __gpio_set_value -#define gpio_cansleep __gpio_cansleep - #define gpio_to_irq(gpio) (gpio) - #define irq_to_gpio(irq) (irq) + #define gpio_to_irq(gpio) (gpio + NR_AIC_IRQS) + #define irq_to_gpio(irq) (irq - NR_AIC_IRQS) #endif /* __ASSEMBLY__ */