aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/gpio.h
diff options
context:
space:
mode:
authorCharulatha V <charu@ti.com>2011-05-05 19:58:01 +0530
committerTarun Kanti DebBarma <tarun.kanti@ti.com>2012-02-06 14:13:40 +0530
commit03e128ca35e5da22e9e65ec8ab158ec0e905fdea (patch)
tree2c1a95e5a8dd50429291f27a537e6b8cfadf22e5 /arch/arm/plat-omap/include/plat/gpio.h
parentLinux 3.3-rc2 (diff)
downloadlinux-dev-03e128ca35e5da22e9e65ec8ab158ec0e905fdea.tar.xz
linux-dev-03e128ca35e5da22e9e65ec8ab158ec0e905fdea.zip
gpio/omap: remove dependency on gpio_bank_count
The gpio_bank_count is the count of number of GPIO devices in a SoC. Remove this dependency from the driver by using list. Also remove the dependency on array of pointers to gpio_bank struct of all GPIO devices. 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/plat/gpio.h')
-rw-r--r--arch/arm/plat-omap/include/plat/gpio.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/plat-omap/include/plat/gpio.h b/arch/arm/plat-omap/include/plat/gpio.h
index 9e86ee0aed0a..acf1c779629e 100644
--- a/arch/arm/plat-omap/include/plat/gpio.h
+++ b/arch/arm/plat-omap/include/plat/gpio.h
@@ -202,9 +202,6 @@ struct omap_gpio_platform_data {
struct omap_gpio_reg_offs *regs;
};
-/* TODO: Analyze removing gpio_bank_count usage from driver code */
-extern int gpio_bank_count;
-
extern void omap2_gpio_prepare_for_idle(int off_mode);
extern void omap2_gpio_resume_after_idle(void);
extern void omap_set_gpio_debounce(int gpio, int enable);