staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Sat, 30 Jan 2021 03:45:07 +0000 (19:45 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:38:33 +0000 (11:38 +0100)
commit848c87e8d8260cec7e4596b30a0ea12635b33a8a
treeff74146291fdaab665d755659bd9bfb97fef3b61
parent7e00b4c86a84fc316de6762780025d31f94d558f
staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c

commit 1f92798cbe7fe923479cff754dd06dd23d352e36 upstream.

Also use KBUILD_MODNAME for module name.

This driver is only used by RALINK MIPS MT7621 SoCs. Tested by building
against that target using OpenWrt with Linux 5.10.10.

Fixes the following error:
error: the following would cause module name conflict:
  drivers/dma/mediatek/mtk-hsdma.ko
  drivers/staging/mt7621-dma/mtk-hsdma.ko

Cc: stable@vger.kernel.org
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Link: https://lore.kernel.org/r/20210130034507.2115280-1-ilya.lipnitskiy@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dma/Makefile
drivers/staging/mt7621-dma/hsdma-mt7621.c [new file with mode: 0644]
drivers/staging/mt7621-dma/mtk-hsdma.c [deleted file]