aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJonas Gorski <jonas.gorski@gmail.com>2017-07-24 11:16:21 +0200
committerJonas Gorski <jonas.gorski@gmail.com>2017-10-27 13:06:15 +0200
commit5df30a169c5f6366e21a0bbbe87b3e13ccbca63b (patch)
tree60831b3447b423bb99de07004ea08eca531405ee /package/kernel
parent3689f7c8efe1d43a384ab2f03819fa1774a64da5 (diff)
downloadupstream-5df30a169c5f6366e21a0bbbe87b3e13ccbca63b.tar.gz
upstream-5df30a169c5f6366e21a0bbbe87b3e13ccbca63b.tar.bz2
upstream-5df30a169c5f6366e21a0bbbe87b3e13ccbca63b.zip
mt76: switch to AutoProbe
Now that we have working module dependency generation, we can switch to AutoProbe and let modprobe handle loading required modules. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mt76/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/kernel/mt76/Makefile b/package/kernel/mt76/Makefile
index 3428ea1f78..6214f37121 100644
--- a/package/kernel/mt76/Makefile
+++ b/package/kernel/mt76/Makefile
@@ -39,7 +39,6 @@ define KernelPackage/mt76-core
TITLE:=MediaTek MT76xx wireless driver
FILES:=\
$(PKG_BUILD_DIR)/mt76.ko
- AUTOLOAD:=$(call AutoLoad,50,mac80211 mt76)
endef
define KernelPackage/mt76x2
@@ -48,7 +47,7 @@ define KernelPackage/mt76x2
DEPENDS+=+kmod-mt76-core
FILES:=\
$(PKG_BUILD_DIR)/mt76x2e.ko
- AUTOLOAD:=$(call AutoLoad,51,mt76x2e)
+ AUTOLOAD:=$(call AutoProbe,mt76x2e)
endef
define KernelPackage/mt7603
@@ -57,7 +56,7 @@ define KernelPackage/mt7603
DEPENDS+=+kmod-mt76-core
FILES:=\
$(PKG_BUILD_DIR)/mt7603e.ko
- AUTOLOAD:=$(call AutoLoad,51,mt7603e)
+ AUTOLOAD:=$(call AutoProbe,mt7603e)
endef
NOSTDINC_FLAGS = \