aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/gpio.c')
-rw-r--r--arch/arm/mach-omap2/gpio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/gpio.c b/arch/arm/mach-omap2/gpio.c
index ae5043eaba82..f4c45ca2cc59 100644
--- a/arch/arm/mach-omap2/gpio.c
+++ b/arch/arm/mach-omap2/gpio.c
@@ -84,6 +84,7 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused)
84 pdata->regs->irqstatus = OMAP24XX_GPIO_IRQSTATUS1; 84 pdata->regs->irqstatus = OMAP24XX_GPIO_IRQSTATUS1;
85 pdata->regs->irqstatus2 = OMAP24XX_GPIO_IRQSTATUS2; 85 pdata->regs->irqstatus2 = OMAP24XX_GPIO_IRQSTATUS2;
86 pdata->regs->irqenable = OMAP24XX_GPIO_IRQENABLE1; 86 pdata->regs->irqenable = OMAP24XX_GPIO_IRQENABLE1;
87 pdata->regs->irqenable2 = OMAP24XX_GPIO_IRQENABLE2;
87 pdata->regs->set_irqenable = OMAP24XX_GPIO_SETIRQENABLE1; 88 pdata->regs->set_irqenable = OMAP24XX_GPIO_SETIRQENABLE1;
88 pdata->regs->clr_irqenable = OMAP24XX_GPIO_CLEARIRQENABLE1; 89 pdata->regs->clr_irqenable = OMAP24XX_GPIO_CLEARIRQENABLE1;
89 pdata->regs->debounce = OMAP24XX_GPIO_DEBOUNCE_VAL; 90 pdata->regs->debounce = OMAP24XX_GPIO_DEBOUNCE_VAL;
@@ -106,6 +107,7 @@ static int omap2_gpio_dev_init(struct omap_hwmod *oh, void *unused)
106 pdata->regs->irqstatus = OMAP4_GPIO_IRQSTATUS0; 107 pdata->regs->irqstatus = OMAP4_GPIO_IRQSTATUS0;
107 pdata->regs->irqstatus2 = OMAP4_GPIO_IRQSTATUS1; 108 pdata->regs->irqstatus2 = OMAP4_GPIO_IRQSTATUS1;
108 pdata->regs->irqenable = OMAP4_GPIO_IRQSTATUSSET0; 109 pdata->regs->irqenable = OMAP4_GPIO_IRQSTATUSSET0;
110 pdata->regs->irqenable2 = OMAP4_GPIO_IRQSTATUSSET1;
109 pdata->regs->set_irqenable = OMAP4_GPIO_IRQSTATUSSET0; 111 pdata->regs->set_irqenable = OMAP4_GPIO_IRQSTATUSSET0;
110 pdata->regs->clr_irqenable = OMAP4_GPIO_IRQSTATUSCLR0; 112 pdata->regs->clr_irqenable = OMAP4_GPIO_IRQSTATUSCLR0;
111 pdata->regs->debounce = OMAP4_GPIO_DEBOUNCINGTIME; 113 pdata->regs->debounce = OMAP4_GPIO_DEBOUNCINGTIME;