diff options
author | Tom Rini <trini@konsulko.com> | 2015-07-31 19:55:09 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-08-12 20:48:06 -0400 |
commit | 0a9e34056fcf86fb64e70bd281875eb7bbdbabde (patch) | |
tree | bd8804f9c2552cf53c85cf34b779550a3c978b5b /arch/arm/include | |
parent | 1480fdf8a6dad28de70ade72974db436f7967525 (diff) |
gpio: omap: Drop 'method' parameter
The "method" parameter was part of the original port of the driver from
the kernel. At some point this may have been added to allow for future
differentiation (as omap1 and omap2 have different GPIO IP blocks, so
this wasn't an unreasonable thing to do). At this point however it's
just extra overhead, so drop.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/omap_gpio.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/include/asm/omap_gpio.h b/arch/arm/include/asm/omap_gpio.h index 839af54d482..ef38b6308d8 100644 --- a/arch/arm/include/asm/omap_gpio.h +++ b/arch/arm/include/asm/omap_gpio.h @@ -23,24 +23,19 @@ #include <asm/arch/cpu.h> -enum gpio_method { - METHOD_GPIO_24XX = 4, -}; - #ifdef CONFIG_DM_GPIO /* Information about a GPIO bank */ struct omap_gpio_platdata { int bank_index; ulong base; /* address of registers in physical memory */ - enum gpio_method method; + const char *port_name; }; #else struct gpio_bank { void *base; - int method; }; extern const struct gpio_bank *const omap_gpio_bank; |