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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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@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

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.

[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux