patch-1.3.38 linux/drivers/scsi/eata_pio.c

Next file: linux/drivers/scsi/fdomain.c
Previous file: linux/drivers/scsi/eata_generic.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.37/linux/drivers/scsi/eata_pio.c linux/drivers/scsi/eata_pio.c
@@ -37,10 +37,7 @@
 
 /* Look in eata_pio.h for configuration information */
 
-#ifdef MODULE
 #include <linux/module.h>
-#include <linux/version.h>
-#endif
  
 #include <linux/kernel.h>
 #include <linux/sched.h>
@@ -57,7 +54,9 @@
 #include "scsi.h"
 #include "sd.h"
 
-#include<linux/stat.h>
+#include <linux/stat.h>
+#include <linux/config.h>	/* for CONFIG_PCI */
+
 struct proc_dir_entry proc_scsi_eata_pio = {
     PROC_SCSI_EATA_PIO, 9, "eata_pio",
     S_IFDIR | S_IRUGO | S_IXUGO, 2

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