From: Shiji Yang Date: Sun, 11 Feb 2024 03:50:32 +0000 (+0800) Subject: ramips: hsdma-mtk: fix build on 5.15 kernel X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=00586674e4aa2e1a7124cca08d0b29cfbfd10c78;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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