lkml.org 
[lkml]   [2023]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] MIPS: loongson32: Remove dma.h and nand.h
From
On 30/8/23 15:35, 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@gmail.com>
> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> 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


> diff --git a/arch/mips/include/asm/mach-loongson32/platform.h b/arch/mips/include/asm/mach-loongson32/platform.h
> index 2cdcfb5f6012..f74292b13bc3 100644
> --- a/arch/mips/include/asm/mach-loongson32/platform.h
> +++ b/arch/mips/include/asm/mach-loongson32/platform.h
> @@ -8,9 +8,6 @@
>
> #include <linux/platform_device.h>
>
> -#include <dma.h>
> -#include <nand.h>

Doh I missed that one in v2 :/

Thanks, R-b stands.

\
 
 \ /
  Last update: 2023-08-30 23:53    [W:0.061 / U:1.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site