提交 8d448b86 编写于 作者: S stephen hemminger 提交者: David S. Miller

bnx2x: fix sparse warning

Fix new sparse warning about function declared static.
Signed-off-by: NStephen Hemminger <stephen@networkplumber.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5f53f52c
......@@ -8602,7 +8602,7 @@ static void bnx2x_set_limiting_mode(struct link_params *params,
}
}
int bnx2x_sfp_module_detection(struct bnx2x_phy *phy,
static int bnx2x_sfp_module_detection(struct bnx2x_phy *phy,
struct link_params *params)
{
struct bnx2x *bp = params->bp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册