hc
2024-09-20 cf4ce59b3b70238352c7f1729f0f7223214828ad
kernel/include/linux/dma/dw.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * Driver for the Synopsys DesignWare DMA Controller
34 *
45 * Copyright (C) 2007 Atmel Corporation
56 * Copyright (C) 2010-2011 ST Microelectronics
67 * Copyright (C) 2014 Intel Corporation
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
118 */
129 #ifndef _DMA_DW_H
1310 #define _DMA_DW_H
....@@ -45,9 +42,13 @@
4542 #if IS_ENABLED(CONFIG_DW_DMAC_CORE)
4643 int dw_dma_probe(struct dw_dma_chip *chip);
4744 int dw_dma_remove(struct dw_dma_chip *chip);
45
+int idma32_dma_probe(struct dw_dma_chip *chip);
46
+int idma32_dma_remove(struct dw_dma_chip *chip);
4847 #else
4948 static inline int dw_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; }
5049 static inline int dw_dma_remove(struct dw_dma_chip *chip) { return 0; }
50
+static inline int idma32_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; }
51
+static inline int idma32_dma_remove(struct dw_dma_chip *chip) { return 0; }
5152 #endif /* CONFIG_DW_DMAC_CORE */
5253
5354 #endif /* _DMA_DW_H */