Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / dma / dw-edma / dw-hdma-v0-debugfs.h
blobe6842c83777dd6ecb14ba08db914fa042a7e38ec
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (c) 2023 Cai Huoqing
4 * Synopsys DesignWare HDMA v0 debugfs
6 * Author: Cai Huoqing <cai.huoqing@linux.dev>
7 */
9 #ifndef _DW_HDMA_V0_DEBUG_FS_H
10 #define _DW_HDMA_V0_DEBUG_FS_H
12 #include <linux/dma/edma.h>
14 #ifdef CONFIG_DEBUG_FS
15 void dw_hdma_v0_debugfs_on(struct dw_edma *dw);
16 #else
17 static inline void dw_hdma_v0_debugfs_on(struct dw_edma *dw)
20 #endif /* CONFIG_DEBUG_FS */
22 #endif /* _DW_HDMA_V0_DEBUG_FS_H */