diff options
author | Barbara Skobiej <barbara.skobiej@intel.com> | 2024-09-20 03:22:35 +0000 |
---|---|---|
committer | Kevin Bowling <kbowling@FreeBSD.org> | 2024-09-20 03:22:35 +0000 |
commit | 3167854b9d2188c4039239f741870e044b7507ac (patch) | |
tree | 489a5514f2e96e2f86c756711f6a7cbf48b6a9a5 | |
parent | 4530d49e68d331e9168d3a216d8a4b8e0d547578 (diff) |
ixgbe: remove circular dependency in ixgbe_mbx.h
DPDK commit message
net/ixgbe/base: remove circular header dependency
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.skobiej@intel.com>
Obtained from: DPDK (0bc2af5)
MFC after: 1 week
-rw-r--r-- | sys/dev/ixgbe/ixgbe_mbx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ixgbe/ixgbe_mbx.h b/sys/dev/ixgbe/ixgbe_mbx.h index 7a982ce89f93..3a9bd34a137f 100644 --- a/sys/dev/ixgbe/ixgbe_mbx.h +++ b/sys/dev/ixgbe/ixgbe_mbx.h @@ -35,7 +35,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); |