]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/arm/plat-omap/include/plat/gpio.h
Merge branch 'fixes-gpio-to-irq' into fixes
[mirror_ubuntu-artful-kernel.git] / arch / arm / plat-omap / include / plat / gpio.h
index b8a96c6a1a30773d6231f3fe100539168a7bc2ca..2f6e9924a814796db36d92d383e42de7aa4b5be3 100644 (file)
 #define OMAP_MPUIO(nr)         (OMAP_MAX_GPIO_LINES + (nr))
 #define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES)
 
-#define OMAP_GPIO_IRQ(nr)      (OMAP_GPIO_IS_MPUIO(nr) ? \
-                                IH_MPUIO_BASE + ((nr) & 0x0f) : \
-                                IH_GPIO_BASE + (nr))
-
 struct omap_gpio_dev_attr {
        int bank_width;         /* GPIO bank width */
        bool dbck_flag;         /* dbck required or not - True for OMAP3&4 */