1305aebefSGustavo Pimentel /* SPDX-License-Identifier: GPL-2.0 */ 2305aebefSGustavo Pimentel /* 3305aebefSGustavo Pimentel * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates. 4305aebefSGustavo Pimentel * Synopsys DesignWare eDMA v0 core 5305aebefSGustavo Pimentel * 6305aebefSGustavo Pimentel * Author: Gustavo Pimentel <gustavo.pimentel@synopsys.com> 7305aebefSGustavo Pimentel */ 8305aebefSGustavo Pimentel 9305aebefSGustavo Pimentel #ifndef _DW_EDMA_V0_DEBUG_FS_H 10305aebefSGustavo Pimentel #define _DW_EDMA_V0_DEBUG_FS_H 11305aebefSGustavo Pimentel 12305aebefSGustavo Pimentel #include <linux/dma/edma.h> 13305aebefSGustavo Pimentel 14305aebefSGustavo Pimentel #ifdef CONFIG_DEBUG_FS 15*20318457SFrank Li void dw_edma_v0_debugfs_on(struct dw_edma *dw); 16305aebefSGustavo Pimentel #else dw_edma_v0_debugfs_on(struct dw_edma * dw)17*20318457SFrank Listatic inline void dw_edma_v0_debugfs_on(struct dw_edma *dw) 18305aebefSGustavo Pimentel { 19305aebefSGustavo Pimentel } 20305aebefSGustavo Pimentel #endif /* CONFIG_DEBUG_FS */ 21305aebefSGustavo Pimentel 22305aebefSGustavo Pimentel #endif /* _DW_EDMA_V0_DEBUG_FS_H */ 23