xref: /linux/drivers/net/ethernet/freescale/enetc/enetc4_debugfs.h (revision fb7399cf2d0b33825b8039f95c45395c7deba25c)
1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2025 NXP */
3 
4 #ifndef __ENETC4_DEBUGFS_H
5 #define __ENETC4_DEBUGFS_H
6 
7 #if IS_ENABLED(CONFIG_DEBUG_FS)
8 void enetc_create_debugfs(struct enetc_si *si);
9 void enetc_remove_debugfs(struct enetc_si *si);
10 #else
11 static inline void enetc_create_debugfs(struct enetc_si *si)
12 {
13 }
14 
15 static inline void enetc_remove_debugfs(struct enetc_si *si)
16 {
17 }
18 #endif
19 
20 #endif
21