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 <vincent@systemli.org>
This commit is contained in:
Nick Hainke 2026-04-12 13:23:15 +02:00
parent 199f6f1824
commit 67f2eafadf

View 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