Subject: [PATCH net-next] bnx2x: fix sparse warning

From: Stephen Hemminger <[email-masked]>
Date: Tue, 14 Jan 2014 10:14:11 -0800

Fix new sparse warning about function declared static.

Signed-off-by: Stephen Hemminger <[email-masked]>

--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c	2014-01-14 09:46:20.701651762 -0800
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c	2014-01-14 09:57:31.562110348 -0800
@@ -8602,8 +8602,8 @@ static void bnx2x_set_limiting_mode(stru
 	}
 }
 
-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;