after support different wifi bt chip auto compatible commit for android 5.0, compatible with android 4.4

This commit is contained in:
hwg
2015-03-13 10:32:05 +08:00
parent 67cdfe0369
commit 49c581ccad
7 changed files with 35 additions and 1 deletions

View File

@@ -1082,8 +1082,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8189ES
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -1670,8 +1670,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8192DU
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -2182,8 +2182,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8723AU
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -1070,8 +1070,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8723BS_VQ0
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -1073,8 +1073,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8723BS
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -1782,9 +1782,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8723BU
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);

View File

@@ -1777,8 +1777,13 @@ void rockchip_wifi_exit_module_rtkwifi(void)
rockchip_wifi_power(0);
}
#ifdef CONFIG_RTL8812AU
EXPORT_SYMBOL(rockchip_wifi_init_module_rtkwifi);
EXPORT_SYMBOL(rockchip_wifi_exit_module_rtkwifi);
#else
module_init(rockchip_wifi_init_module_rtkwifi);
module_exit(rockchip_wifi_exit_module_rtkwifi);
#endif
//module_init(rtw_drv_entry);
//module_exit(rtw_drv_halt);