Commit 595b2c59 authored by Keguang Zhang's avatar Keguang Zhang Committed by Thomas Bogendoerfer
Browse files

MIPS: loongson32: Remove dma.h and nand.h



Since commit 7b3415f5 ("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: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 8a749fd1
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
 *
 * Loongson 1 NAND platform support.
 */

#ifndef __ASM_MACH_LOONGSON32_DMA_H
#define __ASM_MACH_LOONGSON32_DMA_H

#define LS1X_DMA_CHANNEL0	0
#define LS1X_DMA_CHANNEL1	1
#define LS1X_DMA_CHANNEL2	2

struct plat_ls1x_dma {
	int nr_channels;
};

extern struct plat_ls1x_dma ls1b_dma_pdata;

#endif /* __ASM_MACH_LOONGSON32_DMA_H */
+0 −26
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
 *
 * Loongson 1 NAND platform support.
 */

#ifndef __ASM_MACH_LOONGSON32_NAND_H
#define __ASM_MACH_LOONGSON32_NAND_H

#include <linux/dmaengine.h>
#include <linux/mtd/partitions.h>

struct plat_ls1x_nand {
	struct mtd_partition *parts;
	unsigned int nr_parts;

	int hold_cycle;
	int wait_cycle;
};

extern struct plat_ls1x_nand ls1b_nand_pdata;

bool ls1x_dma_filter_fn(struct dma_chan *chan, void *param);

#endif /* __ASM_MACH_LOONGSON32_NAND_H */
+0 −3
Original line number Diff line number Diff line
@@ -8,9 +8,6 @@

#include <linux/platform_device.h>

#include <dma.h>
#include <nand.h>

extern struct platform_device ls1x_uart_pdev;
extern struct platform_device ls1x_eth0_pdev;
extern struct platform_device ls1x_eth1_pdev;
+0 −2
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@

#include <platform.h>
#include <loongson1.h>
#include <dma.h>
#include <nand.h>

/* 8250/16550 compatible UART */
#define LS1X_UART(_id)						\
+0 −2
Original line number Diff line number Diff line
@@ -8,8 +8,6 @@
#include <linux/sizes.h>

#include <loongson1.h>
#include <dma.h>
#include <nand.h>
#include <platform.h>

static const struct gpio_led ls1x_gpio_leds[] __initconst = {