Skip to content

Commit

Permalink
kernel: kmod-can-usb-esd: Fix build on kernel 6.6
Browse files Browse the repository at this point in the history
The kernel module and configuration option was renamed from esd_usb2.ko
to esd_usb.ko in kernel 6.0. Adapt the kernel package.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5e910bdedc84c1f196863cebdf27c1806449c27c

Signed-off-by: Hauke Mehrtens <[email protected]>
  • Loading branch information
hauke committed May 28, 2024
1 parent 2650e7a commit ee1983a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions package/kernel/linux/modules/can.mk
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,13 @@ $(eval $(call KernelPackage,can-usb-ems))

define KernelPackage/can-usb-esd
TITLE:=ESD USB/2 CAN/USB interface
KCONFIG:=CONFIG_CAN_ESD_USB2
FILES:=$(LINUX_DIR)/drivers/net/can/usb/esd_usb2.ko
AUTOLOAD:=$(call AutoProbe,esd_usb2)
KCONFIG:= \
[email protected] \
[email protected]
FILES:= \
$(LINUX_DIR)/drivers/net/can/usb/[email protected] \
$(LINUX_DIR)/drivers/net/can/usb/[email protected]
AUTOLOAD:=$(call AutoProbe,esd_usb2 esd_usb)
$(call AddDepends/can,+kmod-usb-core)
endef

Expand Down

0 comments on commit ee1983a

Please sign in to comment.