Răsfoiți Sursa

kernel: kmod-can-usb-esd: Fix build on kernel 6.6

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]>
Hauke Mehrtens 1 an în urmă
părinte
comite
ee1983a2ff
1 a modificat fișierele cu 7 adăugiri și 3 ștergeri
  1. 7 3
      package/kernel/linux/modules/can.mk

+ 7 - 3
package/kernel/linux/modules/can.mk

@@ -235,9 +235,13 @@ $(eval $(call KernelPackage,can-usb-ems))
 
 
 define KernelPackage/can-usb-esd
 define KernelPackage/can-usb-esd
   TITLE:=ESD USB/2 CAN/USB interface
   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)
   $(call AddDepends/can,+kmod-usb-core)
 endef
 endef