#include <linux/clk.h>
 #include <linux/davinci_emac.h>
 #include <linux/gpio.h>
-#include <linux/gpio/machine.h>
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/of_platform.h>
 static struct fixed_voltage_config pandora_vwlan = {
        .supply_name            = "vwlan",
        .microvolts             = 1800000, /* 1.8V */
+       .gpio                   = PANDORA_WIFI_NRESET_GPIO,
        .startup_delay          = 50000, /* 50ms */
+       .enable_high            = 1,
        .init_data              = &pandora_vmmc3,
 };
 
        },
 };
 
-static struct gpiod_lookup_table pandora_vwlan_gpiod_table = {
-       .dev_id = "reg-fixed-voltage.1",
-       .table = {
-               /*
-                * As this is a low GPIO number it should be at the first
-                * GPIO bank.
-                */
-               GPIO_LOOKUP("gpio-0-31", PANDORA_WIFI_NRESET_GPIO,
-                           NULL, GPIO_ACTIVE_HIGH),
-               { },
-       },
-};
-
 static void pandora_wl1251_init_card(struct mmc_card *card)
 {
        /*
        {
                .mmc            = 3,
                .caps           = MMC_CAP_4_BIT_DATA | MMC_CAP_POWER_OFF_CARD,
+               .gpio_cd        = -EINVAL,
+               .gpio_wp        = -EINVAL,
                .init_card      = pandora_wl1251_init_card,
        },
        {}      /* Terminator */
 static void __init omap3_pandora_legacy_init(void)
 {
        platform_device_register(&pandora_backlight);
-       gpiod_add_lookup_table(&pandora_vwlan_gpiod_table);
        platform_device_register(&pandora_vwlan_device);
        omap_hsmmc_init(pandora_mmc3);
        omap_hsmmc_late_init(pandora_mmc3);