Skip to contentSkip to conversation

sk_g16 missing declaration

PATCH New Stephen Hemminger 1 participant 1 message Nov 11, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sk_g16 missing declaration

The new probe code in net-drivers-2.5-exp lost a declaration for the module case (thanks al).

drivers/net/sk_g16.c +3 -0
diff -Nru a/drivers/net/sk_g16.c b/drivers/net/sk_g16.c
@@ -604,6 +604,9 @@
 
 
 #ifdef MODULE
+
+static struct net_device *SK_dev;
+
 static int __init SK_init_module (void)
 {
  	SK_dev = SK_init(-1);