ramips: hsdma-mtk: fix build on 5.15 kernel
authorShiji Yang <yangshiji66@qq.com>
Sun, 11 Feb 2024 03:50:32 +0000 (11:50 +0800)
committerShiji Yang <yangshiji66@qq.com>
Sun, 11 Feb 2024 09:05:21 +0000 (09:05 +0000)
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 <yangshiji66@qq.com>
target/linux/ramips/modules.mk

index 429bb2cd267cd3930b86beb4808951c816cc10b7..4a8739fe5c40a529bd8df2bf6a3c29e80c517273 100644 (file)
@@ -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