Linux Audio

Check our new training course

Loading...
v6.8
 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
14void bnxt_debug_init(void);
15void bnxt_debug_exit(void);
16void bnxt_debug_dev_init(struct bnxt *bp);
17void bnxt_debug_dev_exit(struct bnxt *bp);
18#else
19static inline void bnxt_debug_init(void) {}
20static inline void bnxt_debug_exit(void) {}
21static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
22static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
23#endif
v5.4
 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
14void bnxt_debug_init(void);
15void bnxt_debug_exit(void);
16void bnxt_debug_dev_init(struct bnxt *bp);
17void bnxt_debug_dev_exit(struct bnxt *bp);
18#else
19static inline void bnxt_debug_init(void) {}
20static inline void bnxt_debug_exit(void) {}
21static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
22static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
23#endif