From: Hauke Mehrtens Date: Sat, 15 Aug 2020 14:43:19 +0000 (+0200) Subject: kernel: wpan: Add missing AUTOLOAD to load kernel module X-Git-Tag: v21.02.0-rc1~1839 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0751d4c0f1227e9dc31c6e4c210476aa3be1b9c;p=openwrt%2Fstaging%2Fpepe2k.git 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 --- 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))