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

Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/net/eql.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/net/hp100.c linux/drivers/net/hp100.c
@@ -82,10 +82,7 @@
  *
  */
 
-#ifdef MODULE
 #include <linux/module.h>
-#include <linux/version.h>
-#endif /* MODULE */
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -104,6 +101,7 @@
 #include <linux/skbuff.h>
 
 #include <linux/types.h>
+#include <linux/config.h>	/* for CONFIG_PCI */
 
 #include "hp100.h"
 
@@ -1124,8 +1122,6 @@
  */
  
 #ifdef MODULE
-
-char kernel_version[] = UTS_RELEASE;
 
 static int hp100_port = -1;
 

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