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: 88d982e3bd ("ramips: 6.1: mt7621-dma: add hsdma driver to files")
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
Shiji Yang 2024-02-11 11:50:32 +08:00
parent 7181eb9f81
commit 00586674e4

View 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