]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Changed OMAP_GPIO_IRQ() macro to allow higher GPIO interrupts
authorTony Lindgren <tony@atomide.com>
Mon, 3 Oct 2005 08:29:00 +0000 (11:29 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 3 Oct 2005 08:29:00 +0000 (11:29 +0300)
Changed OMAP_GPIO_IRQ() macro to allow higher GPIO interrupts

include/asm-arm/arch-omap/gpio.h

index 74cb2b93b70024f39bf135781e0afde230153af5..1b3885741ac1ca05f83cdbf9a7b8090c7cd11c13 100644 (file)
@@ -67,7 +67,7 @@
 
 #define OMAP_GPIO_IRQ(nr)      (OMAP_GPIO_IS_MPUIO(nr) ? \
                                 IH_MPUIO_BASE + ((nr) & 0x0f) : \
-                                IH_GPIO_BASE + ((nr) & 0x3f))
+                                IH_GPIO_BASE + (nr))
 
 extern int omap_gpio_init(void);       /* Call from board init only */
 extern int omap_request_gpio(int gpio);