summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/omap_gpio.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-31 23:55:09 (GMT)
committerTom Rini <trini@konsulko.com>2015-08-13 00:48:06 (GMT)
commit0a9e34056fcf86fb64e70bd281875eb7bbdbabde (patch)
treebd8804f9c2552cf53c85cf34b779550a3c978b5b /arch/arm/include/asm/omap_gpio.h
parent1480fdf8a6dad28de70ade72974db436f7967525 (diff)
downloadu-boot-fsl-qoriq-0a9e34056fcf86fb64e70bd281875eb7bbdbabde.tar.xz
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/asm/omap_gpio.h')
-rw-r--r--arch/arm/include/asm/omap_gpio.h7
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 839af54..ef38b63 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;