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>
Sun, 31 Jan 2021 12:39:53 +0000 (13:39 +0100)
commit1f92798cbe7fe923479cff754dd06dd23d352e36
tree1a7514f15062e8070d42a786acc80a20df53d436
parent5aadd5c692e6427989656f16ff223cb301cfb8d7
staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c

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]