summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_sriov.c
diff options
context:
space:
mode:
authorJohn Fastabend2011-04-12 04:44:55 +0200
committerJeff Kirsher2011-04-27 11:16:48 +0200
commitb32c8dcc33a74fb4f1e73ed2263504f5947ca76b (patch)
tree8b2697a3ac2e855225a437d9491b1dd9541d6a7a /drivers/net/ixgbe/ixgbe_sriov.c
parentixgbe: remove ntuple display support (diff)
downloadkernel-qcow2-linux-b32c8dcc33a74fb4f1e73ed2263504f5947ca76b.tar.gz
kernel-qcow2-linux-b32c8dcc33a74fb4f1e73ed2263504f5947ca76b.tar.xz
kernel-qcow2-linux-b32c8dcc33a74fb4f1e73ed2263504f5947ca76b.zip
ixgbe: fix static functions
Define functions as static added C=1 (sparse) to my make line brought these to my attention. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_sriov.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_sriov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_sriov.c b/drivers/net/ixgbe/ixgbe_sriov.c
index 6e50d8328942..47650278d414 100644
--- a/drivers/net/ixgbe/ixgbe_sriov.c
+++ b/drivers/net/ixgbe/ixgbe_sriov.c
@@ -110,7 +110,7 @@ static int ixgbe_set_vf_vlan(struct ixgbe_adapter *adapter, int add, int vid,
return adapter->hw.mac.ops.set_vfta(&adapter->hw, vid, vf, (bool)add);
}
-void ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf)
+static void ixgbe_set_vf_lpe(struct ixgbe_adapter *adapter, u32 *msgbuf)
{
struct ixgbe_hw *hw = &adapter->hw;
int new_mtu = msgbuf[1];