aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-11-02 19:21:54 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-12-15 14:28:48 +0100
commit583d65ebfe04dee73d84a68efe3b0bc7e242127c (patch)
treecd113d7ba113876642ca3681c9219c9f890ac0fd /package/kernel
parent4ff44110319758c36ff28d1d4f9cf7c7f6cbf7f3 (diff)
downloadupstream-583d65ebfe04dee73d84a68efe3b0bc7e242127c.tar.gz
upstream-583d65ebfe04dee73d84a68efe3b0bc7e242127c.tar.bz2
upstream-583d65ebfe04dee73d84a68efe3b0bc7e242127c.zip
kernel: Adapt to moved kvaser_usb.ko in kernel 4.19
In kernel 4.19 the kvaser_usb.ko file moved into its own directory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/can.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index 925de4d8a5..4154ceba72 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -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