cnic: Fix __symbol_get() build error.
authorMichael Chan <mchan@broadcom.com>
Sun, 14 Jun 2009 00:43:02 +0000 (17:43 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 21 Jun 2009 16:00:33 +0000 (11:00 -0500)
commite2ee3616bc334ab51e68aad6905761ca97f35559
tree51b236991cb89d3f7bc6ab6841c5c3bf69d5bdfc
parent7cbdca23c8a4e6d007b62c9136ba0e5f86e069d0
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>
drivers/net/cnic.c
drivers/net/cnic_if.h