Skip to content

Commit 2a0d6c1

Browse files
committed
eth: fbnic: add missing header guards
While adding the SPDX headers I noticed we're also missing a header guard. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Link: https://patch.msgid.link/20241115015344.757567-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e1a897e commit 2a0d6c1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

drivers/net/ethernet/meta/fbnic/fbnic_hw_stats.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
22
/* Copyright (c) Meta Platforms, Inc. and affiliates. */
33

4+
#ifndef _FBNIC_HW_STATS_H_
5+
#define _FBNIC_HW_STATS_H_
6+
47
#include <linux/ethtool.h>
58

69
#include "fbnic_csr.h"
@@ -41,3 +44,5 @@ struct fbnic_hw_stats {
4144
u64 fbnic_stat_rd64(struct fbnic_dev *fbd, u32 reg, u32 offset);
4245

4346
void fbnic_get_hw_stats(struct fbnic_dev *fbd);
47+
48+
#endif /* _FBNIC_HW_STATS_H_ */

0 commit comments

Comments
 (0)