Merge tag 'regmap-fix-v5.11-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / dma / dw-edma / dw-edma-v0-debugfs.h
blob5450a0a941938bfe2a75f6049ebdec45ac0f3f62
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates.
4 * Synopsys DesignWare eDMA v0 core
6 * Author: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
7 */
9 #ifndef _DW_EDMA_V0_DEBUG_FS_H
10 #define _DW_EDMA_V0_DEBUG_FS_H
12 #include <linux/dma/edma.h>
14 #ifdef CONFIG_DEBUG_FS
15 void dw_edma_v0_debugfs_on(struct dw_edma_chip *chip);
16 void dw_edma_v0_debugfs_off(void);
17 #else
18 static inline void dw_edma_v0_debugfs_on(struct dw_edma_chip *chip)
22 static inline void dw_edma_v0_debugfs_off(void)
25 #endif /* CONFIG_DEBUG_FS */
27 #endif /* _DW_EDMA_V0_DEBUG_FS_H */