obj-$(CONFIG_RTL8188FU) += rtl8188fu/
obj-$(CONFIG_RTL8822BE) += rtl8822be/
obj-$(CONFIG_WL_ROCKCHIP) += wifi_sys/rkwifi_sys_iface.o
+obj-$(CONFIG_WL_ROCKCHIP) += rkwifi/rk_wifi_config.o
#rkwifi packed Makefile
# (gwl)
-obj-$(CONFIG_AP6XXX) += rk_wifi_config.o
obj-$(CONFIG_AP6XXX) += bcmdhd/
.PHONY: clean
# 1. WL_IFACE_COMB_NUM_CHANNELS must be added if Android version is 4.4 with Kernel version 3.0~3.4,
# otherwise please remove it.
-CONFIG_BCMDHD := y
+MODULE_NAME = bcmdhd
CONFIG_BCMDHD_SDIO := y
#CONFIG_BCMDHD_PCIE := y
CONFIG_BCMDHD_OOB := y
dhd_msgbuf.o
endif
-obj-$(CONFIG_BCMDHD) += bcmdhd.o
+obj-$(CONFIG_AP6XXX) += bcmdhd.o
bcmdhd-objs += $(DHDOFILES)
#ifeq ($(CONFIG_MACH_ODROID_4210),y)
dhd_module_exit();
}
+#ifdef CONFIG_WIFI_LOAD_DRIVER_WHEN_KERNEL_BOOTUP
late_initcall(rockchip_wifi_init_module_rkwifi);
module_exit(rockchip_wifi_exit_module_rkwifi);
-
+#else
+module_init(rockchip_wifi_init_module_rkwifi);
+module_exit(rockchip_wifi_exit_module_rkwifi);
+#endif
#if 0
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
#if defined(CONFIG_DEFERRED_INITCALLS)