From 00586674e4aa2e1a7124cca08d0b29cfbfd10c78 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sun, 11 Feb 2024 11:50:32 +0800 Subject: [PATCH] ramips: hsdma-mtk: fix build on 5.15 kernel In the 5.15 kernel, we use the staging driver version instead of the downstream file. Fixes: 88d982e3bd87 ("ramips: 6.1: mt7621-dma: add hsdma driver to files") Signed-off-by: Shiji Yang --- target/linux/ramips/modules.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/linux/ramips/modules.mk b/target/linux/ramips/modules.mk index 429bb2cd26..4a8739fe5c 100644 --- a/target/linux/ramips/modules.mk +++ b/target/linux/ramips/modules.mk @@ -101,7 +101,8 @@ define KernelPackage/hsdma-mtk CONFIG_MTK_HSDMA FILES:= \ $(LINUX_DIR)/drivers/dma/virt-dma.ko \ - $(LINUX_DIR)/drivers/dma/mediatek/hsdma-mt7621.ko + $(LINUX_DIR)/drivers/staging/mt7621-dma/hsdma-mt7621.ko@lt5.17 \ + $(LINUX_DIR)/drivers/dma/mediatek/hsdma-mt7621.ko@ge5.17 AUTOLOAD:=$(call AutoLoad,53,hsdma-mt7621) endef -- 2.30.2