[v1,16/22] net/ixgbe/base: remove circular header dependency
Checks
Commit Message
From: Barbara Skobiej <barbara.skobiej@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.skobiej@intel.com
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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);