]> git.baikalelectronics.ru Git - kernel.git/commit
net: wireless: rtlwifi: Do not always include drivers in obj-m
authorAndreas Ruprecht <rupran@einserver.de>
Mon, 24 Nov 2014 18:34:31 +0000 (19:34 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Nov 2014 21:51:25 +0000 (16:51 -0500)
commit190d66b27e11ad7f88eca711642ecf3808b65977
treeb44abf2501750ab75691af7028ef802e2080ff7b
parentac514411f223ef996a4e6dcaeede317daee713aa
net: wireless: rtlwifi: Do not always include drivers in obj-m

In four of the rtlwifi drivers, the Makefile contains superfluous
statements indicating the compilation of the driver as an LKM
regardless of the corresponding Kconfig option.

If the corresponding option is set to 'y', the build system will then
see the object file in obj-m and obj-y, which leads to a compilation
as a built-in only. Even though this leads to the desired behavior,
the unconditional appearance in obj-m is confusing for someone reading
the Makefile.

This patch removes the superfluous Makefile statements.

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192ee/Makefile
drivers/net/wireless/rtlwifi/rtl8723ae/Makefile
drivers/net/wireless/rtlwifi/rtl8723be/Makefile
drivers/net/wireless/rtlwifi/rtl8821ae/Makefile