patch-1.3.39 linux/drivers/char/stallion.c

Next file: linux/drivers/char/tty_io.c
Previous file: linux/drivers/char/random.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/drivers/char/stallion.c linux/drivers/char/stallion.c
@@ -25,11 +25,7 @@
 
 /*****************************************************************************/
 
-#ifdef MODULE
-#include <linux/config.h>
 #include <linux/module.h>
-#include <linux/version.h>
-#endif
 
 #include <linux/errno.h>
 #include <linux/sched.h>
@@ -45,6 +41,8 @@
 #include <linux/string.h>
 #include <linux/malloc.h>
 #include <linux/ioport.h>
+#include <linux/config.h>	/* for CONFIG_PCI */
+
 #include <asm/system.h>
 #include <asm/io.h>
 #include <asm/segment.h>
@@ -508,8 +506,6 @@
 /*
  *	Use the kernel version number for modules.
  */
-char	kernel_version[] = UTS_RELEASE;
-
 int init_module()
 {
 	unsigned long	flags;

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