bnx2x: Fixed a compilation warning
authorVladislav Zolotarov <vladz@broadcom.com>
Sun, 12 Dec 2010 04:12:12 +0000 (04:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Dec 2010 23:02:58 +0000 (15:02 -0800)
commit372e43eb2fc34001250e27d63f99c20e46ea58a7
tree1ac17dc7108f056cdd5968fe35f4daab925a079d
parent099978b434d4924594516db540ccc50652e7cc94
bnx2x: Fixed a compilation warning

bnx2x_src_init_t2() is used only when BCM_CNIC is defined.
So, to avoid a compilation warning, we won't define it unless
BCM_CNIC is defined.

Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_init_ops.h