From: Piotr Kwapulinski Date: Thu, 5 Dec 2024 08:44:48 +0000 (+0100) Subject: ixgbe: Add ixgbe_x540 multiple header inclusion protection X-Git-Tag: v6.14-rc1~162^2~154^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0834bd521eaf1f2014041a8ad5a0cb233ac4fda;p=thirdparty%2Flinux.git ixgbe: Add ixgbe_x540 multiple header inclusion protection Required to adopt x540 specific functions by E610 device. Reviewed-by: Simon Horman Tested-by: Bharath R Signed-off-by: Piotr Kwapulinski Signed-off-by: Tony Nguyen --- diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h index b69a680d3ab56..6ed360c5b605b 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h @@ -1,5 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright(c) 1999 - 2018 Intel Corporation. */ +/* Copyright(c) 1999 - 2024 Intel Corporation. */ + +#ifndef _IXGBE_X540_H_ +#define _IXGBE_X540_H_ #include "ixgbe_type.h" @@ -17,3 +20,5 @@ int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask); void ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw); int ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw); + +#endif /* _IXGBE_X540_H_ */