Only RK292x & RK3026_86V use pmu to control wifi power.
authorgwl <gwl@rock-chips.com>
Tue, 13 Aug 2013 05:14:12 +0000 (13:14 +0800)
committergwl <gwl@rock-chips.com>
Tue, 13 Aug 2013 05:14:27 +0000 (13:14 +0800)
arch/arm/plat-rk/rk-sdmmc-wifi.c

index c2c25d1e916f4841530189e7f081f4fae2137261..54857d16aa07f014955a7986bd52cedd134fa17f 100755 (executable)
@@ -406,7 +406,7 @@ static int __init rk29sdk_wifi_bt_gpio_control_init(void)
 }
 
 #if (defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) || defined(CONFIG_RTL8723AU)) \
-       && (defined(CONFIG_ARCH_RK2928) || defined(CONFIG_ARCH_RK3026))
+       && (defined(CONFIG_ARCH_RK2928) || defined(CONFIG_MACH_RK3026_86V))
 static int usbwifi_power_status = 1;
 int rk29sdk_wifi_power(int on)
 {