mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 14:17:43 +00:00
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>
This commit is contained in:
parent
5f53f52c02
commit
8d448b86f5
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue