| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Driver for the Synopsys DesignWare DMA Controller |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2007 Atmel Corporation |
|---|
| 5 | 6 | * Copyright (C) 2010-2011 ST Microelectronics |
|---|
| 6 | 7 | * 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. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | #ifndef _DMA_DW_H |
|---|
| 13 | 10 | #define _DMA_DW_H |
|---|
| .. | .. |
|---|
| 45 | 42 | #if IS_ENABLED(CONFIG_DW_DMAC_CORE) |
|---|
| 46 | 43 | int dw_dma_probe(struct dw_dma_chip *chip); |
|---|
| 47 | 44 | 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); |
|---|
| 48 | 47 | #else |
|---|
| 49 | 48 | static inline int dw_dma_probe(struct dw_dma_chip *chip) { return -ENODEV; } |
|---|
| 50 | 49 | 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; } |
|---|
| 51 | 52 | #endif /* CONFIG_DW_DMAC_CORE */ |
|---|
| 52 | 53 | |
|---|
| 53 | 54 | #endif /* _DMA_DW_H */ |
|---|