cnic, bnx2x, bnx2: Simplify cnic probing.
authorMichael Chan <mchan@broadcom.com>
Thu, 6 Dec 2012 10:33:12 +0000 (10:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Dec 2012 17:44:02 +0000 (12:44 -0500)
commit4bd9b0fffb193d2e288f67f81821af32df8d4349
treeb2e19d3ffeac16974eda2d396f543a1d25466f1c
parent68c64d2034faa0961ad4a38b915dc10a4581bb64
cnic, bnx2x, bnx2: Simplify cnic probing.

Instead of using symbol_get(), cnic can now directly call the cnic_probe
functions in struct bnx2x and struct bnx2.  symbol_get() is not reliable
as it fails when the module is still initializing.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2.c
drivers/net/ethernet/broadcom/bnx2.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/broadcom/cnic_if.h