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)
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

index 11952b99daf8991626a23f6ca7d48f1f03b364ca..6bd46a9314ca220efb56415b42e96bb9cc5e6726 100644 (file)
@@ -1,6 +1,3 @@
-obj-m := rtl8192ee.o
-
-
 rtl8192ee-objs :=              \
                dm.o            \
                fw.o            \
index 9c34a85fdb89f1acf280e20722d81ccb2b1b0511..6220672a96f44ffc539ccdc2325876b96dc6895c 100644 (file)
@@ -1,6 +1,3 @@
-obj-m := rtl8723ae.o
-
-
 rtl8723ae-objs :=              \
                dm.o            \
                fw.o            \
index 59e416abd93ab014ea62b07643b3d839689f4297..a77c3410279275320eef1195e7fd6c78556631da 100644 (file)
@@ -1,6 +1,3 @@
-obj-m := rtl8723be.o
-
-
 rtl8723be-objs :=              \
                dm.o            \
                fw.o            \
index 87ad604a1eb3267a4756e4d36bcdea19e8502a5f..f7a26f71197e01db7fe089dc6ba9de940986ba1b 100644 (file)
@@ -1,6 +1,3 @@
-obj-m := rtl8821ae.o
-
-
 rtl8821ae-objs :=              \
                dm.o            \
                fw.o            \
This page took 0.03334 seconds and 5 git commands to generate.