summaryrefslogtreecommitdiffstats
path: root/drivers/net/cnic_if.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2009-06-14 02:43:02 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-21 18:00:33 +0200
commite2ee3616bc334ab51e68aad6905761ca97f35559 (patch)
tree51b236991cb89d3f7bc6ab6841c5c3bf69d5bdfc /drivers/net/cnic_if.h
parentRevert "[SCSI] cnic: fix error: implicit declaration of function ‘__symbol_... (diff)
downloadlinux-e2ee3616bc334ab51e68aad6905761ca97f35559.tar.xz
linux-e2ee3616bc334ab51e68aad6905761ca97f35559.zip
cnic: Fix __symbol_get() build error.
Ingo molnar <mingo@elte.hu> reported the error drivers/net/cnic.c:2520: error: implicit declaration of function ‘__symbol_get’ when CONFIG_MODULES is not defined. Fix by using symbol_get() instead. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/net/cnic_if.h')
-rw-r--r--drivers/net/cnic_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/cnic_if.h b/drivers/net/cnic_if.h
index 06380963a34e..d1bce27ee99e 100644
--- a/drivers/net/cnic_if.h
+++ b/drivers/net/cnic_if.h
@@ -296,4 +296,6 @@ extern int cnic_register_driver(int ulp_type, struct cnic_ulp_ops *ulp_ops);
extern int cnic_unregister_driver(int ulp_type);
+extern struct cnic_eth_dev *bnx2_cnic_probe(struct net_device *dev);
+
#endif