diff options
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-mxc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 64aff20bc620..b588f8a41e60 100644 --- a/drivers/gpio/gpio-mxc.c +++ b/drivers/gpio/gpio-mxc.c | |||
@@ -31,6 +31,8 @@ | |||
31 | #include <linux/of_device.h> | 31 | #include <linux/of_device.h> |
32 | #include <asm-generic/bug.h> | 32 | #include <asm-generic/bug.h> |
33 | 33 | ||
34 | #define irq_to_gpio(irq) ((irq) - MXC_GPIO_IRQ_START) | ||
35 | |||
34 | enum mxc_gpio_hwtype { | 36 | enum mxc_gpio_hwtype { |
35 | IMX1_GPIO, /* runs on i.mx1 */ | 37 | IMX1_GPIO, /* runs on i.mx1 */ |
36 | IMX21_GPIO, /* runs on i.mx21 and i.mx27 */ | 38 | IMX21_GPIO, /* runs on i.mx21 and i.mx27 */ |