arm/mxc: do not use gpio_to_irq() for static initializers
[pandora-kernel.git] / arch / arm / plat-mxc / include / mach / hardware.h
index a8bfd56..77f6556 100644 (file)
        .type = _type,                                                  \
 }
 
+#define IMX_GPIO_TO_IRQ(gpio)  (MXC_GPIO_IRQ_START + (gpio))
+
 #endif /* __ASM_ARCH_MXC_HARDWARE_H__ */