brintos

brintos / linux-shallow public Read only

0
0
Text · 774 B · 15598b2 Raw
29 lines · c
1/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */2/* Copyright 2015 Freescale Semiconductor Inc.3 * Copyright 2018-2019 NXP4 */5#ifndef DPAA2_ETH_DEBUGFS_H6#define DPAA2_ETH_DEBUGFS_H7 8#include <linux/dcache.h>9 10struct dpaa2_eth_priv;11 12struct dpaa2_debugfs {13	struct dentry *dir;14};15 16#ifdef CONFIG_DEBUG_FS17void dpaa2_eth_dbg_init(void);18void dpaa2_eth_dbg_exit(void);19void dpaa2_dbg_add(struct dpaa2_eth_priv *priv);20void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv);21#else22static inline void dpaa2_eth_dbg_init(void) {}23static inline void dpaa2_eth_dbg_exit(void) {}24static inline void dpaa2_dbg_add(struct dpaa2_eth_priv *priv) {}25static inline void dpaa2_dbg_remove(struct dpaa2_eth_priv *priv) {}26#endif /* CONFIG_DEBUG_FS */27 28#endif /* DPAA2_ETH_DEBUGFS_H */29