[PATCH 1/2] net: wireless: rtlwifi: Do not always include drivers in obj-m

2014-11-24 Thread Andreas Ruprecht
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

[PATCH 1/2] net: wireless: rtlwifi: Do not always include drivers in obj-m

2014-11-24 Thread Andreas Ruprecht
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