xref: /linux/drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.h (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
1 /* Broadcom NetXtreme-C/E network driver.
2  *
3  * Copyright (c) 2017-2018 Broadcom Limited
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation.
8  */
9 
10 #include "bnxt_hsi.h"
11 #include "bnxt.h"
12 
13 #ifdef CONFIG_DEBUG_FS
14 void bnxt_debug_init(void);
15 void bnxt_debug_exit(void);
16 void bnxt_debug_dev_init(struct bnxt *bp);
17 void bnxt_debug_dev_exit(struct bnxt *bp);
18 #else
19 static inline void bnxt_debug_init(void) {}
20 static inline void bnxt_debug_exit(void) {}
21 static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
22 static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
23 #endif
24