From bc3bf8fd330ce981ce632a1a4a283eee46838f32 Mon Sep 17 00:00:00 2001 From: Ingo Molnar Date: Sat, 13 Jun 2009 08:29:33 +0200 Subject: [PATCH] =?utf8?q?[SCSI]=20cnic:=20fix=20error:=20implicit=20decla?= =?utf8?q?ration=20of=20function=20=E2=80=98=5F=5Fsymbol=5Fget=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: James Bottomley --- drivers/net/cnic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/cnic.c b/drivers/net/cnic.c index a9e2fd35bb41..44f77eb1180f 100644 --- a/drivers/net/cnic.c +++ b/drivers/net/cnic.c @@ -25,6 +25,8 @@ #include #include #include +#include + #if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE) #define BCM_VLAN 1 #endif -- 2.20.1