Commit 8d448b86 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

bnx2x: fix sparse warning

Fix new sparse warning about function declared static.
Signed-off-by: default avatarStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5f53f52c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment