patch-1.3.38 linux/drivers/net/depca.c

Next file: linux/drivers/net/dummy.c
Previous file: linux/drivers/net/de4x5.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/net/depca.c linux/drivers/net/depca.c
@@ -188,14 +188,7 @@
 
 static const char *version = "depca.c:v0.41 5/26/95 davies@wanton.lkg.dec.com\n";
 
-#include <linux/config.h>
-#ifdef MODULE
 #include <linux/module.h>
-#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif /* MODULE */
 
 #include <linux/types.h>
 #include <linux/kernel.h>
@@ -1818,7 +1811,6 @@
 }
 
 #ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
 static char devicename[9] = { 0, };
 static struct device thisDepca = {
   devicename, /* device name is inserted by linux/drivers/net/net_init.c */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this