diff options
author | Don Skidmore <donald.c.skidmore@intel.com> | 2011-01-27 21:28:36 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-02-11 11:57:13 -0500 |
commit | 8fecce62b512c1d50174e03367d6f384dd4ceb80 (patch) | |
tree | 0a407db725da45335f7a66a8207a244dd91011b7 /drivers/net/ixgbe/ixgbe_mbx.h | |
parent | 32f754667e66870773e40116687b6849963152f5 (diff) |
ixgbe: cleanup ixgbe_init_mbx_params_pf namespace issue
The function ixgbe_init_mbx_params_pf isn't used unless CONFIG_PCI_IOV
is defined. This is causing namespace warnings. So I wrapped its
definition in CONFIG_PCI_IOV too.
Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_mbx.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_mbx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe_mbx.h b/drivers/net/ixgbe/ixgbe_mbx.h index 3df9b1590218..ada0ce32a7a6 100644 --- a/drivers/net/ixgbe/ixgbe_mbx.h +++ b/drivers/net/ixgbe/ixgbe_mbx.h | |||
@@ -86,7 +86,9 @@ s32 ixgbe_write_mbx(struct ixgbe_hw *, u32 *, u16, u16); | |||
86 | s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); | 86 | s32 ixgbe_check_for_msg(struct ixgbe_hw *, u16); |
87 | s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); | 87 | s32 ixgbe_check_for_ack(struct ixgbe_hw *, u16); |
88 | s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16); | 88 | s32 ixgbe_check_for_rst(struct ixgbe_hw *, u16); |
89 | #ifdef CONFIG_PCI_IOV | ||
89 | void ixgbe_init_mbx_params_pf(struct ixgbe_hw *); | 90 | void ixgbe_init_mbx_params_pf(struct ixgbe_hw *); |
91 | #endif /* CONFIG_PCI_IOV */ | ||
90 | 92 | ||
91 | extern struct ixgbe_mbx_operations mbx_ops_generic; | 93 | extern struct ixgbe_mbx_operations mbx_ops_generic; |
92 | 94 | ||