ixgbe: cleanup ixgbe_init_mbx_params_pf namespace issue
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 28 Jan 2011 02:28:36 +0000 (02:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Feb 2011 16:57:13 +0000 (08:57 -0800)
commit8fecce62b512c1d50174e03367d6f384dd4ceb80
tree0a407db725da45335f7a66a8207a244dd91011b7
parent32f754667e66870773e40116687b6849963152f5
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>
drivers/net/ixgbe/ixgbe_mbx.c
drivers/net/ixgbe/ixgbe_mbx.h