ramips: fix path for dma-ralink and mtk-hsdma
authorChuanhong Guo <gch981213@gmail.com>
Sun, 5 Apr 2020 07:52:49 +0000 (15:52 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 5 Apr 2020 10:16:17 +0000 (18:16 +0800)
These two drivers were available in drivers/staging in 5.4.
Fix driver paths for them.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ramips/modules.mk

index 1ce914439cbbb1312d822e6f159aa2446cb4cc4a..6fd3b51c45b6978015a9f488ada7906ab3d5dc18 100644 (file)
@@ -84,7 +84,8 @@ define KernelPackage/dma-ralink
        CONFIG_DMA_RALINK
   FILES:= \
        $(LINUX_DIR)/drivers/dma/virt-dma.ko \
-       $(LINUX_DIR)/drivers/dma/ralink-gdma.ko
+       $(LINUX_DIR)/drivers/dma/ralink-gdma.ko@lt5.4 \
+       $(LINUX_DIR)/drivers/staging/ralink-gdma/ralink-gdma.ko@ge5.4
   AUTOLOAD:=$(call AutoLoad,52,ralink-gdma)
 endef
 
@@ -104,7 +105,8 @@ define KernelPackage/hsdma-mtk
        CONFIG_MTK_HSDMA
   FILES:= \
        $(LINUX_DIR)/drivers/dma/virt-dma.ko \
-       $(LINUX_DIR)/drivers/dma/mtk-hsdma.ko
+       $(LINUX_DIR)/drivers/dma/mtk-hsdma.ko@lt5.4 \
+       $(LINUX_DIR)/drivers/staging/mt7621-dma/mtk-hsdma.ko@ge5.4
   AUTOLOAD:=$(call AutoLoad,53,mtk-hsdma)
 endef