staging: r8188eu: use proper way to build a module
authorMartin Kaiser <martin@kaiser.cx>
Wed, 11 Aug 2021 20:14:49 +0000 (22:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Aug 2021 08:23:02 +0000 (10:23 +0200)
commita1c95234d6e6b2604abff9208e38db162b9a3e7b
tree5b8b5f38a4068b55475ba7a1cff520e72611e3a8
parentef32cccc7f0656e8affa28b0ace7298c8144acb3
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>
drivers/staging/r8188eu/Kconfig
drivers/staging/r8188eu/Makefile