summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-04-10 10:53:40 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-04-11 03:23:42 (GMT)
commit61c2fc4b50b9db025f7bb78cd1d4ab9de7d740cf (patch)
tree6c78f2808d93097d1ef477410be5faa52b8097a4 /drivers
parente355fbbcaee83326f67bbf349324484bf3588f35 (diff)
downloadlinux-61c2fc4b50b9db025f7bb78cd1d4ab9de7d740cf.tar.xz
bnx2: make cnic_probe static
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/broadcom/bnx2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c
index e709296..f27b549 100644
--- a/drivers/net/ethernet/broadcom/bnx2.c
+++ b/drivers/net/ethernet/broadcom/bnx2.c
@@ -416,7 +416,7 @@ static int bnx2_unregister_cnic(struct net_device *dev)
return 0;
}
-struct cnic_eth_dev *bnx2_cnic_probe(struct net_device *dev)
+static struct cnic_eth_dev *bnx2_cnic_probe(struct net_device *dev)
{
struct bnx2 *bp = netdev_priv(dev);
struct cnic_eth_dev *cp = &bp->cnic_eth_dev;