treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / mips / include / asm / mach-loongson32 / dma.h
blobe917b3ccb2c2d619eaa46ea158567807e6e29261
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_DMA_H
9 #define __ASM_MACH_LOONGSON32_DMA_H
11 #define LS1X_DMA_CHANNEL0 0
12 #define LS1X_DMA_CHANNEL1 1
13 #define LS1X_DMA_CHANNEL2 2
15 struct plat_ls1x_dma {
16 int nr_channels;
19 extern struct plat_ls1x_dma ls1b_dma_pdata;
21 #endif /* __ASM_MACH_LOONGSON32_DMA_H */