drivers/net/wireless/rockchip_wlan: remove unused wifi_launcher driver

Change-Id: I5b35ecad132bb0a6246f15736fc3062230b9cd7a
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang
2018-11-06 19:43:37 +08:00
parent 12481d820b
commit aa5796e198
3 changed files with 0 additions and 90 deletions

View File

@@ -1,12 +0,0 @@
# SPDX-License-Identifier: GPL-2.0
obj-m := wlan.o
KERNEL_DIR = /smb/rk28/mid_yifang_a10_29/kernel
all:
make -C $(KERNEL_DIR) M=`pwd` modules
clean:
rm -f Module.symvers *.o modules.order *.ko wifi_launcher.mod.c
rm -rf .wifi* .tmp* wlan.mod.c

View File

@@ -1,64 +0,0 @@
/*
* Just a wifi driver hooker.
*
* Yongle Lai @ 2009-05-10 @ Rockchip
*/
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
MODULE_LICENSE("Dual BSD/GPL");
#ifdef CONFIG_MODVERSIONS
#define MODVERSIONS
#include <linux/modversions.h>
#endif
//#define OLD_WIFI_IFACE
#ifdef OLD_WIFI_IFACE
extern int mv88w8686_if_sdio_init_module(void);
extern void mv88w8686_if_sdio_exit_module(void);
#else
extern int rockchip_wifi_init_module(void);
extern void rockchip_wifi_exit_module(void);
#endif
static int wifi_launcher_init(void)
{
int ret;
printk("=======================================================\n");
printk("==== Launching Wi-Fi driver! (Powered by Rockchip) ====\n");
printk("=======================================================\n");
#ifdef OLD_WIFI_IFACE
ret = mv88w8686_if_sdio_init_module();
if (ret) /* Try again */
ret = mv88w8686_if_sdio_init_module();
#else
ret = rockchip_wifi_init_module();
//if (ret) /* Try again */
// ret = rockchip_wifi_init_module();
#endif
return ret;
}
static void wifi_launcher_exit(void)
{
printk("=======================================================\n");
printk("== Dis-launching Wi-Fi driver! (Powered by Rockchip) ==\n");
printk("=======================================================\n");
#ifdef OLD_WIFI_IFACE
mv88w8686_if_sdio_exit_module();
#else
rockchip_wifi_exit_module();
#endif
}
module_init(wifi_launcher_init);
module_exit(wifi_launcher_exit);

View File

@@ -1,14 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _WLAN_PARAM_H_
#define _WLAN_PARAM_H_
typedef struct {
char ifname[32]; // wlan0, wl0.1
char devmode[32]; // ap, sta
// reserve
} wlan_param;
#endif