Skip to content

Commit 595b2c5

Browse files
kelvincheungtsbogend
authored andcommitted
MIPS: loongson32: Remove dma.h and nand.h
Since commit 7b3415f ("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 <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 8a749fd commit 595b2c5

File tree

5 files changed

+0
-54
lines changed

5 files changed

+0
-54
lines changed

arch/mips/include/asm/mach-loongson32/dma.h

Lines changed: 0 additions & 21 deletions
This file was deleted.

arch/mips/include/asm/mach-loongson32/nand.h

Lines changed: 0 additions & 26 deletions
This file was deleted.

arch/mips/include/asm/mach-loongson32/platform.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
#include <linux/platform_device.h>
1010

11-
#include <dma.h>
12-
#include <nand.h>
13-
1411
extern struct platform_device ls1x_uart_pdev;
1512
extern struct platform_device ls1x_eth0_pdev;
1613
extern struct platform_device ls1x_eth1_pdev;

arch/mips/loongson32/common/platform.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
#include <platform.h>
1717
#include <loongson1.h>
18-
#include <dma.h>
19-
#include <nand.h>
2018

2119
/* 8250/16550 compatible UART */
2220
#define LS1X_UART(_id) \

arch/mips/loongson32/ls1b/board.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
#include <linux/sizes.h>
99

1010
#include <loongson1.h>
11-
#include <dma.h>
12-
#include <nand.h>
1311
#include <platform.h>
1412

1513
static const struct gpio_led ls1x_gpio_leds[] __initconst = {

0 commit comments

Comments
 (0)