bnx2x: reduced sparse warnings
authorYuval Mintz <yuvalmin@broadcom.com>
Sun, 18 Mar 2012 10:33:39 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Mar 2012 20:53:06 +0000 (16:53 -0400)
commit3b60306690569927951be09160e80a8af9c94db4
treee6d1c2207f954c1375573964c245ed0ff5de82a5
parent51c1a580b1e07d58eb063f9f4a70aea8ad32fe23
bnx2x: reduced sparse warnings

This patch reduces sparse warnings in the bnx2x code,
mostly by changing functions into static and changing
initialization of structures.

Signed-off-by: Yuval Mintz <yuvalmin@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_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_fw_defs.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c