kernel: Adapt to moved kvaser_usb.ko in kernel 4.19
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 2 Nov 2018 18:21:54 +0000 (19:21 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 15 Dec 2018 13:28:48 +0000 (14:28 +0100)
In kernel 4.19 the kvaser_usb.ko file moved into its own directory.

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

index 925de4d..4154ceb 100644 (file)
@@ -231,7 +231,9 @@ $(eval $(call KernelPackage,can-usb-esd))
 define KernelPackage/can-usb-kvaser
   TITLE:=Kvaser CAN/USB interface
   KCONFIG:=CONFIG_CAN_KVASER_USB
-  FILES:=$(LINUX_DIR)/drivers/net/can/usb/kvaser_usb.ko
+  FILES:= \
+       $(LINUX_DIR)/drivers/net/can/usb/kvaser_usb.ko@lt4.19 \
+       $(LINUX_DIR)/drivers/net/can/usb/kvaser_usb/kvaser_usb.ko@ge4.19
   AUTOLOAD:=$(call AutoProbe,kvaser_usb)
   $(call AddDepends/can,+kmod-usb-core)
 endef