summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorCharulatha V <charu@ti.com>2011-05-25 07:53:50 +0200
committerTarun Kanti DebBarma <tarun.kanti@ti.com>2012-02-06 09:43:43 +0100
commitfad96ea825e7a8ee0c5b77292b470e4978157ee7 (patch)
tree1e013b7a881a3abaa6a6e6b1812bfdd38537cae1 /arch/arm/plat-omap/include
parentgpio/omap: cleanup omap_gpio_mod_init function (diff)
downloadlinux-fad96ea825e7a8ee0c5b77292b470e4978157ee7.tar.xz
linux-fad96ea825e7a8ee0c5b77292b470e4978157ee7.zip
gpio/omap: use pinctrl offset instead of macro
Use regs->pinctrl field instead of using the macro OMAP1510_GPIO_PIN_CONTROL Signed-off-by: Charulatha V <charu@ti.com> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h
index 9e403e54f6f9..8be165108aad 100644
--- a/arch/arm/plat-omap/include/plat/gpio.h
+++ b/arch/arm/plat-omap/include/plat/gpio.h
@@ -198,6 +198,7 @@ struct omap_gpio_reg_offs {
u16 irqctrl;
u16 edgectrl1;
u16 edgectrl2;
+ u16 pinctrl;
bool irqenable_inv;
};