wifi: add rk29sdk_wifi_bt_gpio_control_init for usb wifi
authorhwg <hwg@rock-chips.com>
Thu, 15 Nov 2012 12:53:49 +0000 (20:53 +0800)
committerhwg <hwg@rock-chips.com>
Thu, 15 Nov 2012 12:53:49 +0000 (20:53 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-sdmmc.c

index 7cedb18c1a4e84049c4a6805ec0862b82ac01fd2..af73f9a1c88855fa9ec51c42b72c722d6953d26b 100755 (executable)
@@ -361,7 +361,6 @@ static int rk29sdk_wifi_status_register(void (*callback)(int card_present, void
 #if defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) || defined(CONFIG_RT5370)
 static int __init rk29sdk_wifi_bt_gpio_control_init(void)
 {
-    return 0;
     if (gpio_request(RK30SDK_WIFI_GPIO_POWER_N, "wifi_power")) {
            pr_info("%s: request wifi power gpio failed\n", __func__);
            return -1;