treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / mach-loongson32 / nand.h
blobaaf5ed19d78d4144521465069f054e8f15beab59
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com>
5 * Loongson 1 NAND platform support.
6 */
8 #ifndef __ASM_MACH_LOONGSON32_NAND_H
9 #define __ASM_MACH_LOONGSON32_NAND_H
11 #include <linux/dmaengine.h>
12 #include <linux/mtd/partitions.h>
14 struct plat_ls1x_nand {
15 struct mtd_partition *parts;
16 unsigned int nr_parts;
18 int hold_cycle;
19 int wait_cycle;
22 extern struct plat_ls1x_nand ls1b_nand_pdata;
24 bool ls1x_dma_filter_fn(struct dma_chan *chan, void *param);
26 #endif /* __ASM_MACH_LOONGSON32_NAND_H */