rtw88: rename rtw88.ko/rtwpci.ko to rtw88_core.ko/rtw88_pci.ko
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Fri, 15 May 2020 05:23:27 +0000 (13:23 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 18 May 2020 12:16:22 +0000 (15:16 +0300)
Rename the name of the kernel module for rtw88's core and pci.
Add proper prefix 'rtw88_' to easily recognize them, also can
avoid confusion with other drivers. (ex. r8822be in staging)

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200515052327.31874-8-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/Makefile

index 9e3e953..f31e78a 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
 
-obj-$(CONFIG_RTW88_CORE)       += rtw88.o
-rtw88-y += main.o \
+obj-$(CONFIG_RTW88_CORE)       += rtw88_core.o
+rtw88_core-y += main.o \
           mac80211.o \
           util.o \
           debug.o \
@@ -37,5 +37,5 @@ rtw88_8723d-objs              := rtw8723d.o rtw8723d_table.o
 obj-$(CONFIG_RTW88_8723DE)     += rtw88_8723de.o
 rtw88_8723de-objs              := rtw8723de.o
 
-obj-$(CONFIG_RTW88_PCI)                += rtwpci.o
-rtwpci-objs                    := pci.o
+obj-$(CONFIG_RTW88_PCI)                += rtw88_pci.o
+rtw88_pci-objs                 := pci.o