summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2013-04-10 12:53:40 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-11 05:23:42 +0200
commit61c2fc4b50b9db025f7bb78cd1d4ab9de7d740cf (patch)
tree6c78f2808d93097d1ef477410be5faa52b8097a4 /drivers/net/ethernet/broadcom
parentMerge branch 'wireless' (diff)
downloadlinux-61c2fc4b50b9db025f7bb78cd1d4ab9de7d740cf.tar.xz
linux-61c2fc4b50b9db025f7bb78cd1d4ab9de7d740cf.zip
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/net/ethernet/broadcom')
-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 e709296e3b85..f27b549b692d 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;