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>
This commit is contained in:

committed by
James Bottomley

parent
7cbdca23c8
commit
e2ee3616bc
@@ -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
|
||||
|
Reference in New Issue
Block a user