bnx2x: Add static declaration to several functions
authorMerav Sicron <meravs@broadcom.com>
Sun, 11 Nov 2012 03:56:08 +0000 (03:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2012 19:42:08 +0000 (14:42 -0500)
commit910cc727bf5cba11ce51be86fa2fb2454b10f3d9
tree9342fa4f4028a782e57c4eaec9109646c1531bba
parent5cb04436eef62aa8f5c482f8ec8deba391dea465
bnx2x: Add static declaration to several functions

This patch adds static declaration to several functions in bnx2x. It eliminates
newly introduced sparse warnings reported by Fengguang Wu.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Merav Sicron <meravs@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c