]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] cnic: fix error: implicit declaration of function ‘__symbol_get’
authorIngo Molnar <mingo@elte.hu>
Sat, 13 Jun 2009 06:29:33 +0000 (08:29 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 13 Jun 2009 14:07:51 +0000 (09:07 -0500)
commitbc3bf8fd330ce981ce632a1a4a283eee46838f32
tree10a84ae36757d85f35bc61fe75c726ac9fd65e09
parentfaea56c9bb44f539da1ae0194184873fc2720b20
[SCSI] cnic: fix error: implicit declaration of function ‘__symbol_get’

 drivers/net/cnic.c: In function ‘init_bnx2_cnic’:
 drivers/net/cnic.c:2520: error: implicit declaration of function ‘__symbol_get’
 drivers/net/cnic.c:2520: warning: assignment makes pointer from integer without a cast
 make[1]: *** [drivers/net/cnic.o] Error 1
 make: *** [drivers/net/cnic.o] Error 2

Caused by not including linux/module.h

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/net/cnic.c