Skip to content

Commit

Permalink
bnx2x: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stephen hemminger authored and David S. Miller committed Jan 15, 2014
1 parent 5f53f52 commit 8d448b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8d448b8

Please sign in to comment.