diff options
author | Martin Kaiser | 2021-08-11 22:14:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-08-12 10:23:02 +0200 |
commit | a1c95234d6e6b2604abff9208e38db162b9a3e7b (patch) | |
tree | 5b8b5f38a4068b55475ba7a1cff520e72611e3a8 /drivers | |
parent | ef32cccc7f0656e8affa28b0ace7298c8144acb3 (diff) |
staging: r8188eu: use proper way to build a module
It seems that for now, we can only build this driver as a module.
Use the same mechanism as other drivers (such as rtl8723bs or the
deprecated rtl8188eu) to enforce building as a module, i.e. depend on m
in Kconfig instead of setting CONFIG_R8188EU = m in the Makefile.
If we set CONFIG_R8188EU in the Makefile, this setting will not be visible
in .config.
Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210811201450.31366-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/r8188eu/Kconfig | 1 | ||||
-rw-r--r-- | drivers/staging/r8188eu/Makefile | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/Kconfig b/drivers/staging/r8188eu/Kconfig index 6323d63a4a1b..dc1719d3f2e4 100644 --- a/drivers/staging/r8188eu/Kconfig +++ b/drivers/staging/r8188eu/Kconfig @@ -2,6 +2,7 @@ config R8188EU tristate "Realtek RTL8188EU Wireless LAN NIC driver" depends on WLAN && USB && CFG80211 + depends on m select WIRELESS_EXT select WEXT_PRIV select LIB80211 diff --git a/drivers/staging/r8188eu/Makefile b/drivers/staging/r8188eu/Makefile index 7f6658f931d1..cca7a58c5f29 100644 --- a/drivers/staging/r8188eu/Makefile +++ b/drivers/staging/r8188eu/Makefile @@ -4,8 +4,6 @@ EXTRA_CFLAGS += -O1 ccflags-y += -D__CHECK_ENDIAN__ -CONFIG_R8188EU = m - CONFIG_USB_HCI = y CONFIG_BT_COEXIST = n |