]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: other: fix ptp-qoriq build with Linux >= 6.18
authorNick Hainke <vincent@systemli.org>
Sun, 12 Apr 2026 11:23:15 +0000 (13:23 +0200)
committerNick Hainke <vincent@systemli.org>
Tue, 21 Apr 2026 15:53:02 +0000 (17:53 +0200)
Linux renamed ptp-qoriq.ko to ptp_qoriq.ko in 6.18.

Link: https://github.com/openwrt/openwrt/pull/22732
Signed-off-by: Nick Hainke <vincent@systemli.org>
package/kernel/linux/modules/other.mk

index 35d7c76aef98b53d44b3ceff992595e926a6a66b..25c890cae00fe09cefd7118df56d729ada6d8840 100644 (file)
@@ -862,7 +862,8 @@ define KernelPackage/ptp-qoriq
   TITLE:=Freescale QorIQ PTP support
   DEPENDS:=@(TARGET_mpc85xx||TARGET_qoriq) +kmod-ptp
   KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ
-  FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko
+  FILES:=$(LINUX_DIR)/drivers/ptp/ptp-qoriq.ko@lt6.18 \
+       $(LINUX_DIR)/drivers/ptp/ptp_qoriq.ko@ge6.18
   AUTOLOAD:=$(call AutoProbe,ptp-qoriq)
 endef