mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

This moves bnxt_hsi.h contents to a common location so it can be properly referenced by bnxt_en, bnxt_re, and bnge. Signed-off-by: Andy Gospodarek <gospo@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Link: https://patch.msgid.link/20250714170202.39688-1-gospo@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
23 lines
705 B
C
23 lines
705 B
C
/* Broadcom NetXtreme-C/E network driver.
|
|
*
|
|
* Copyright (c) 2017-2018 Broadcom Limited
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation.
|
|
*/
|
|
|
|
#include <linux/bnxt/hsi.h>
|
|
#include "bnxt.h"
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
void bnxt_debug_init(void);
|
|
void bnxt_debug_exit(void);
|
|
void bnxt_debug_dev_init(struct bnxt *bp);
|
|
void bnxt_debug_dev_exit(struct bnxt *bp);
|
|
#else
|
|
static inline void bnxt_debug_init(void) {}
|
|
static inline void bnxt_debug_exit(void) {}
|
|
static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
|
|
static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
|
|
#endif
|