From: gwl Date: Tue, 13 Aug 2013 05:14:12 +0000 (+0800) Subject: Only RK292x & RK3026_86V use pmu to control wifi power. X-Git-Tag: firefly_0821_release~6726^2~11 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65ef2bde4a20e9c8b11cfdd2ff7ff3fd6bac7c50;p=firefly-linux-kernel-4.4.55.git Only RK292x & RK3026_86V use pmu to control wifi power. --- diff --git a/arch/arm/plat-rk/rk-sdmmc-wifi.c b/arch/arm/plat-rk/rk-sdmmc-wifi.c index c2c25d1e916f..54857d16aa07 100755 --- a/arch/arm/plat-rk/rk-sdmmc-wifi.c +++ b/arch/arm/plat-rk/rk-sdmmc-wifi.c @@ -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) {