From 6b8c4e3a142be64c9cf491e4bcc2d435c6fa6207 Mon Sep 17 00:00:00 2001 From: Cody Xie Date: Mon, 29 Jul 2013 10:40:00 +0800 Subject: [PATCH] rk3188 ds1006h : fix compile error for wifi --- arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c index 1a56e4ce7c7b..f190439e3391 100644 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c @@ -62,6 +62,9 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void) #define RK29SDK_SD_CARD_DETECT_N RK30_PIN3_PB0 //According to your own project to set the value of card-detect-pin. #define RK29SDK_SD_CARD_INSERT_LEVEL GPIO_LOW // set the voltage of insert-card. Please pay attention to the default setting. +#define RK30SDK_WIFI_GPIO_WIFI_INT_B RK30_PIN3_PD2 +#define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE GPIO_HIGH + /* * Define wifi module's power and reset gpio, and gpio sensitive level. * Please set the value according to your own project. @@ -83,9 +86,6 @@ int rk31sdk_get_sdmmc0_pin_io_voltage(void) #define RK30SDK_WIFI_GPIO_RESET_N RK30_PIN2_PA7 #define RK30SDK_WIFI_GPIO_RESET_ENABLE_VALUE GPIO_HIGH - #define RK30SDK_WIFI_GPIO_WIFI_INT_B RK30_PIN3_PD2 - #define RK30SDK_WIFI_GPIO_WIFI_INT_B_ENABLE_VALUE GPIO_HIGH - #elif defined(CONFIG_MT5931_MT6622) || defined(CONFIG_MT5931) #ifdef CONFIG_MACH_RK3168_LR097 -- 2.34.1