[openwrt/openwrt] kernel: wpan: Add missing AUTOLOAD to load kernel module
LEDE Commits
lede-commits at lists.infradead.org
Fri Aug 21 08:59:44 EDT 2020
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/b0751d4c0f1227e9dc31c6e4c210476aa3be1b9c
commit b0751d4c0f1227e9dc31c6e4c210476aa3be1b9c
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Aug 15 16:43:19 2020 +0200
kernel: wpan: Add missing AUTOLOAD to load kernel module
These kernel modules were not loaded automatically, fix this by adding
the AUTOLOAD definition.
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
package/kernel/linux/modules/wpan.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk
index 053fa1e4bf..1de7f39b66 100644
--- a/package/kernel/linux/modules/wpan.mk
+++ b/package/kernel/linux/modules/wpan.mk
@@ -88,6 +88,7 @@ define KernelPackage/at86rf230
CONFIG_SPI=y \
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/at86rf230.ko
+ AUTOLOAD:=$(call AutoProbe,at86rf230)
endef
$(eval $(call KernelPackage,at86rf230))
@@ -100,6 +101,7 @@ define KernelPackage/mrf24j40
CONFIG_SPI=y \
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/mrf24j40.ko
+ AUTOLOAD:=$(call AutoProbe,mrf24j40)
endef
$(eval $(call KernelPackage,mrf24j40))
@@ -112,6 +114,7 @@ define KernelPackage/cc2520
CONFIG_SPI=y \
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/cc2520.ko
+ AUTOLOAD:=$(call AutoProbe,cc2520)
endef
$(eval $(call KernelPackage,cc2520))
More information about the lede-commits
mailing list