]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9294d2ac12895dea7d9f3909b9c5df18d46de88
tree1ac17dc7108f056cdd5968fe35f4daab925a079d
parent118ec5cf8b66a73531e0ad52a5d468c6e41f5fca
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