]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fixed a compilation warning
authorVladislav Zolotarov <vladz@broadcom.com>
Wed, 8 Dec 2010 01:43:29 +0000 (01:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Dec 2010 04:50:01 +0000 (20:50 -0800)
commit76314a84ad05219cd15e34dc65e9aad14a293df5
treebf3e1ee166f78bf7b4ff9a058368983867dff08d
parent4f46f9c4f81271a14f504d2392e5892f7f568b2d
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