From 67f2eafadf22e5363a692afa30c2b5a80718af96 Mon Sep 17 00:00:00 2001 From: Nick Hainke Date: Sun, 12 Apr 2026 13:23:15 +0200 Subject: [PATCH] kernel: other: fix ptp-qoriq build with Linux >= 6.18 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 --- package/kernel/linux/modules/other.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 35d7c76aef..25c890cae0 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -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