kernel: kmod-can-slcan: Fix can-slcan.ko location
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 13 Mar 2024 19:35:19 +0000 (20:35 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 Mar 2024 19:53:34 +0000 (20:53 +0100)
The slcan.ko file was moved in upstream Linux:
https://git.kernel.org/linus/98b12064591d635db86da4957b547067dc6897cc
This fixes the build with kernel >= 6.0. This module was never build
with kernel 6.1 before.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/can.mk

index 4ff85d1c01379db7e7ffbadf75509349ea88dfd3..e6c5db7135dde7db96531f675910fece0b2437f4 100644 (file)
@@ -182,7 +182,9 @@ $(eval $(call KernelPackage,can-raw))
 define KernelPackage/can-slcan
   TITLE:=Serial / USB serial CAN Adaptors (slcan)
   KCONFIG:=CONFIG_CAN_SLCAN
-  FILES:=$(LINUX_DIR)/drivers/net/can/slcan.ko
+  FILES:= \
+       $(LINUX_DIR)/drivers/net/can/slcan.ko@lt6.0 \
+       $(LINUX_DIR)/drivers/net/can/slcan/slcan.ko@ge6.0
   AUTOLOAD:=$(call AutoProbe,slcan)
   $(call AddDepends/can)
 endef