diff mbox

[net-next] bnx2: make cnic_probe static

Message ID 20130410135340.06f88645@nehalam.linuxnetplumber.net
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Stephen Hemminger April 10, 2013, 8:53 p.m. UTC
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Michael Chan April 10, 2013, 10:27 p.m. UTC | #1
On Wed, 2013-04-10 at 13:53 -0700, Stephen Hemminger wrote: 
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Acked-by: Michael Chan <mchan@broadcom.com>

> 
> --- a/drivers/net/ethernet/broadcom/bnx2.c	2013-04-10 09:10:46.167617920 -0700
> +++ b/drivers/net/ethernet/broadcom/bnx2.c	2013-04-10 13:18:43.946608448 -0700
> @@ -416,7 +416,7 @@ static int bnx2_unregister_cnic(struct n
>  	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;
> 



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller April 11, 2013, 3:24 a.m. UTC | #2
From: Stephen Hemminger <stephen@networkplumber.org>
Date: Wed, 10 Apr 2013 13:53:40 -0700

> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/net/ethernet/broadcom/bnx2.c	2013-04-10 09:10:46.167617920 -0700
+++ b/drivers/net/ethernet/broadcom/bnx2.c	2013-04-10 13:18:43.946608448 -0700
@@ -416,7 +416,7 @@  static int bnx2_unregister_cnic(struct n
 	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;