rk3188 ds1006h : fix compile error for wifi
authorCody Xie <xkd@rock-chips.com>
Mon, 29 Jul 2013 02:40:00 +0000 (10:40 +0800)
committerCody Xie <xkd@rock-chips.com>
Mon, 29 Jul 2013 02:40:29 +0000 (10:40 +0800)
arch/arm/mach-rk3188/board-rk3188-ds1006h-sdmmc-config.c

index 1a56e4ce7c7bcbcd3244b0928e283ca0cab21b5b..f190439e33917cdcdf70ce33f3f74c4db225a3bf 100644 (file)
@@ -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