]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/omap_gpio.h
gpio: omap: Drop 'method' parameter
[karo-tx-uboot.git] / arch / arm / include / asm / omap_gpio.h
index 839af54d482e9fbc9e03c5a777eb9317566681ea..ef38b6308d870b1b4121c622993fe19db2f2851a 100644 (file)
 
 #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;