From: Barbara Skobiej <barbara.skob...@intel.com> Including one header file in second header file should be avoided, so fix it by forward declaring the struct instead.
Signed-off-by: Barbara Skobiej barbara.skob...@intel.com --- drivers/net/ixgbe/base/ixgbe_mbx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h b/drivers/net/ixgbe/base/ixgbe_mbx.h index f368b1d745..56ab435286 100644 --- a/drivers/net/ixgbe/base/ixgbe_mbx.h +++ b/drivers/net/ixgbe/base/ixgbe_mbx.h @@ -5,7 +5,7 @@ #ifndef _IXGBE_MBX_H_ #define _IXGBE_MBX_H_ -#include "ixgbe_type.h" +struct ixgbe_hw; struct ixgbe_mbx_operations { void (*init_params)(struct ixgbe_hw *hw); -- 2.43.0