[openwrt/openwrt] kernel: can: fix MCP251x CAN controller module autoload

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 26 09:19:55 PST 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/cfce8ab388f10b9c463464b3f61d86260e17116e

commit cfce8ab388f10b9c463464b3f61d86260e17116e
Author: Tim Harvey <tharvey at gateworks.com>
AuthorDate: Fri Feb 17 16:53:18 2023 -0800

    kernel: can: fix MCP251x CAN controller module autoload
    
    Fix autoload module name for can-mcp251x kmod.
    
    Signed-off-by: Tim Harvey <tharvey at gateworks.com>
    (cherry picked from commit 29d02d8ce584fa7e420204e04dde1e17e14e009c)
---
 package/kernel/linux/modules/can.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index 9cdebb9091..4ff85d1c01 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -152,7 +152,7 @@ define KernelPackage/can-mcp251x
 	CONFIG_SPI=y \
 	CONFIG_CAN_MCP251X
   FILES:=$(LINUX_DIR)/drivers/net/can/spi/mcp251x.ko
-  AUTOLOAD:=$(call AutoProbe,can-mcp251x)
+  AUTOLOAD:=$(call AutoProbe,mcp251x)
   $(call AddDepends/can)
 endef
 




More information about the lede-commits mailing list