net: rtl8192cu: change config name as vendor driver
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 18 Sep 2018 09:43:43 +0000 (18:43 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 08:43:00 +0000 (17:43 +0900)
There is already rtl8192cu mainline driver.
To distinguish with vendor driver, changed config name to
RTL8192CU_VENDOR.

Change-Id: I2663bc12f787cc4f417a13c9b4de42b4b63a8efb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/net/wireless/realtek/rtlwifi/Kconfig
drivers/net/wireless/realtek/rtlwifi/Makefile

index 9f6a4e3..f158317 100644 (file)
@@ -106,15 +106,16 @@ config RTL8821AE
 
        If you choose to build it as a module, it will be called rtl8821ae
 
-config RTL8192CU
+config RTL8192CU_VENDOR
        tristate "Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter"
-       depends on USB
+       depends on USB && !RTL8192CU
        select RTLWIFI
        select RTLWIFI_USB
        select RTL8192C_COMMON
        help
        This is the driver for Realtek RTL8192CU/RTL8188CU 802.11n USB
        wireless network adapters.
+       This driver is non-mainline driver (Vendor driver.)
 
        If you choose to build it as a module, it will be called rtl8192cu
 
@@ -139,7 +140,7 @@ config RTLWIFI_DEBUG
 
 config RTL8192C_COMMON
        tristate
-       depends on RTL8192CE || RTL8192CU
+       depends on RTL8192CE || RTL8192CU_VENDOR
        default y
 
 config RTL8723_COMMON
index 09c30e4..8bcc82b 100644 (file)
@@ -21,7 +21,7 @@ rtl_usb-objs  :=              usb.o
 
 obj-$(CONFIG_RTL8192C_COMMON)  += rtl8192c/
 obj-$(CONFIG_RTL8192CE)                += rtl8192ce/
-obj-$(CONFIG_RTL8192CU)                += rtl8192cu/
+obj-$(CONFIG_RTL8192CU_VENDOR) += rtl8192cu/
 obj-$(CONFIG_RTL8192SE)                += rtl8192se/
 obj-$(CONFIG_RTL8192DE)                += rtl8192de/
 obj-$(CONFIG_RTL8723AE)                += rtl8723ae/