diff options
author | stephen hemminger <stephen@networkplumber.org> | 2014-01-14 10:14:11 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-15 15:06:47 -0800 |
commit | 8d448b86f5d7c859f48188802dcabf78719c00b6 (patch) | |
tree | 27f8d9beea81c515c561b885506269a0222b6c14 /drivers/net | |
parent | 5f53f52c027f974981c83cd16813b4cd72001ef8 (diff) | |
download | op-kernel-dev-8d448b86f5d7c859f48188802dcabf78719c00b6.zip op-kernel-dev-8d448b86f5d7c859f48188802dcabf78719c00b6.tar.gz |
bnx2x: fix sparse warning
Fix new sparse warning about function declared static.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c index c5ce99b..9b6b3d7 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c @@ -8602,8 +8602,8 @@ static void bnx2x_set_limiting_mode(struct link_params *params, } } -int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, - struct link_params *params) +static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy, + struct link_params *params) { struct bnx2x *bp = params->bp; u16 edc_mode; |