Skip to content

Commit a0834bd

Browse files
pkwapulianguy11
authored andcommitted
ixgbe: Add ixgbe_x540 multiple header inclusion protection
Required to adopt x540 specific functions by E610 device. Reviewed-by: Simon Horman <[email protected]> Tested-by: Bharath R <[email protected]> Signed-off-by: Piotr Kwapulinski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
1 parent e5b132b commit a0834bd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
/* SPDX-License-Identifier: GPL-2.0 */
2-
/* Copyright(c) 1999 - 2018 Intel Corporation. */
2+
/* Copyright(c) 1999 - 2024 Intel Corporation. */
3+
4+
#ifndef _IXGBE_X540_H_
5+
#define _IXGBE_X540_H_
36

47
#include "ixgbe_type.h"
58

@@ -17,3 +20,5 @@ int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
1720
void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
1821
void ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw);
1922
int ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
23+
24+
#endif /* _IXGBE_X540_H_ */

0 commit comments

Comments
 (0)