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