Re: [PATCH v3] MIPS: loongson32: Remove dma.h and nand.h

From: Thomas Bogendoerfer
Date: Fri Oct 06 2023 - 04:24:59 EST


On Wed, Aug 30, 2023 at 09:35:05PM +0800, Keguang Zhang wrote:
> Since commit 7b3415f581c7 ("MIPS: Loongson32: Remove
> unused platform devices"), struct plat_ls1x_dma and plat_ls1x_nand
> are unused. Then, dma.h and nand.h are useless.
> Therefore, remove these useless header files.
>
> Signed-off-by: Keguang Zhang <keguang.zhang@xxxxxxxxx>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
> ---
> V2 -> V3: Fix the build error
> Add Reviewed-by tag from Philippe Mathieu-Daudé
> V1 -> V2: Remove include of dma.h and nand.h
> Update the commit message
> ---
> arch/mips/include/asm/mach-loongson32/dma.h | 21 ---------------
> arch/mips/include/asm/mach-loongson32/nand.h | 26 -------------------
> .../include/asm/mach-loongson32/platform.h | 3 ---
> arch/mips/loongson32/common/platform.c | 2 --
> arch/mips/loongson32/ls1b/board.c | 2 --
> 5 files changed, 54 deletions(-)
> delete mode 100644 arch/mips/include/asm/mach-loongson32/dma.h
> delete mode 100644 arch/mips/include/asm/mach-loongson32/nand.h

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]