From 47ae543bedb229144f5e7f6e4da41b781d1a82db Mon Sep 17 00:00:00 2001 From: xbw Date: Fri, 25 Jan 2013 14:09:11 +0800 Subject: [PATCH] SDMMC: This macro of WIFI_HOST_WAKE temporarily unused Thus, it is moved to another file rk-sdmmc-wifi.c --- arch/arm/mach-rk30/board-LR097-sdmmc-config.c | 4 +--- arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c | 4 +--- arch/arm/plat-rk/rk-sdmmc-wifi.c | 1 + 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-rk30/board-LR097-sdmmc-config.c b/arch/arm/mach-rk30/board-LR097-sdmmc-config.c index e5a03a5d7586..c3df92069eaf 100644 --- a/arch/arm/mach-rk30/board-LR097-sdmmc-config.c +++ b/arch/arm/mach-rk30/board-LR097-sdmmc-config.c @@ -52,9 +52,7 @@ * Well, you just own engineering module to set the value in the corresponding module branch. * Otherwise, you do not define this macro, eliminate it. * -*/ -#define WIFI_HOST_WAKE RK30_PIN3_PD2 //If you do not select this function, leave it alone. - +*/ #if defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0 #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_LOW//GPIO_HIGH diff --git a/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c b/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c index 551536eed7ff..861772f09844 100644 --- a/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c +++ b/arch/arm/mach-rk30/board-rk3168-tb-sdmmc-conifg.c @@ -52,9 +52,7 @@ * Well, you just own engineering module to set the value in the corresponding module branch. * Otherwise, you do not define this macro, eliminate it. * -*/ -#define WIFI_HOST_WAKE RK30_PIN3_PD2 //If you do not select this function, leave it alone. - +*/ #if defined(CONFIG_RTL8192CU) || defined(CONFIG_RTL8188EU) #define RK30SDK_WIFI_GPIO_POWER_N RK30_PIN3_PD0 #define RK30SDK_WIFI_GPIO_POWER_ENABLE_VALUE GPIO_LOW//GPIO_HIGH diff --git a/arch/arm/plat-rk/rk-sdmmc-wifi.c b/arch/arm/plat-rk/rk-sdmmc-wifi.c index 740e569ed077..67eaa20001fc 100644 --- a/arch/arm/plat-rk/rk-sdmmc-wifi.c +++ b/arch/arm/plat-rk/rk-sdmmc-wifi.c @@ -481,6 +481,7 @@ int rk29sdk_wifi_set_carddetect(int val) } EXPORT_SYMBOL(rk29sdk_wifi_set_carddetect); +#define WIFI_HOST_WAKE RK30_PIN3_PD2 static struct resource resources[] = { { -- 2.34.1