]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
bnx2: make cnic_probe static
authorstephen hemminger <stephen@networkplumber.org>
Wed, 10 Apr 2013 10:53:40 +0000 (10:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Apr 2013 03:23:42 +0000 (23:23 -0400)
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c

index e709296e3b85dbee34f5acadabe9a0a987cee427..f27b549b692ddb855e9d15ae7e7e1b8ade150a82 100644 (file)
@@ -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;