diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2011-01-30 23:22:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-31 16:22:41 -0500 |
commit | 65a001bad18eb80f6f953e5e0601132f09bfe197 (patch) | |
tree | ce877fb4b86065bd43350663be4f6eaff2c82982 /drivers/net/bnx2x/bnx2x_link.h | |
parent | 2cf7acf98ef8327588e49bf74b7653ca4a063f09 (diff) |
bnx2x: Fix compilation warning messages
Fix annoying compilation warning, mainly related to static declarations
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_link.h')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_link.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2x/bnx2x_link.h b/drivers/net/bnx2x/bnx2x_link.h index d9e847bb96f8..92f36b6950dc 100644 --- a/drivers/net/bnx2x/bnx2x_link.h +++ b/drivers/net/bnx2x/bnx2x_link.h | |||
@@ -337,6 +337,11 @@ void bnx2x_ext_phy_hw_reset(struct bnx2x *bp, u8 port); | |||
337 | /* Reset the external of SFX7101 */ | 337 | /* Reset the external of SFX7101 */ |
338 | void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); | 338 | void bnx2x_sfx7101_sp_sw_reset(struct bnx2x *bp, struct bnx2x_phy *phy); |
339 | 339 | ||
340 | /* Read "byte_cnt" bytes from address "addr" from the SFP+ EEPROM */ | ||
341 | u8 bnx2x_read_sfp_module_eeprom(struct bnx2x_phy *phy, | ||
342 | struct link_params *params, u16 addr, | ||
343 | u8 byte_cnt, u8 *o_buf); | ||
344 | |||
340 | void bnx2x_hw_reset_phy(struct link_params *params); | 345 | void bnx2x_hw_reset_phy(struct link_params *params); |
341 | 346 | ||
342 | /* Checks if HW lock is required for this phy/board type */ | 347 | /* Checks if HW lock is required for this phy/board type */ |