netdev
[Top] [All Lists]

[PATCH] sk_g16 missing declaration

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: [PATCH] sk_g16 missing declaration
From: Stephen Hemminger <shemminger@xxxxxxxx>
Date: Tue, 11 Nov 2003 14:47:04 -0800
Cc: netdev@xxxxxxxxxxx
Organization: Open Source Development Lab
Sender: netdev-bounce@xxxxxxxxxxx
The new probe code in net-drivers-2.5-exp lost a declaration for the
module case (thanks al).

diff -Nru a/drivers/net/sk_g16.c b/drivers/net/sk_g16.c
--- a/drivers/net/sk_g16.c      Tue Nov 11 09:36:10 2003
+++ b/drivers/net/sk_g16.c      Tue Nov 11 09:36:10 2003
@@ -604,6 +604,9 @@
 
 
 #ifdef MODULE
+
+static struct net_device *SK_dev;
+
 static int __init SK_init_module (void)
 {
        SK_dev = SK_init(-1);

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] sk_g16 missing declaration, Stephen Hemminger <=