* [PATCH] remove useless includes from scsi.h
@ 2002-11-21 1:58 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2002-11-21 1:58 UTC (permalink / raw)
To: James.Bottomley; +Cc: linux-scsi
--- 1.44/drivers/scsi/scsi.h Sun Nov 17 16:44:35 2002
+++ edited/drivers/scsi/scsi.h Thu Nov 21 01:54:42 2002
@@ -15,23 +15,10 @@
#ifndef _SCSI_H
#define _SCSI_H
-#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */
-#include <linux/devfs_fs_kernel.h>
-#include <linux/proc_fs.h>
-#include <linux/init.h>
-
-
-/*
- * Some of the public constants are being moved to this file.
- * We include it here so that what came from where is transparent.
- */
+#include <linux/config.h> /* for CONFIG_SCSI_LOGGING */
+#include <linux/devfs_fs_kernel.h> /* some morons don't know struct pointers */
#include <scsi/scsi.h>
-#include <linux/random.h>
-
-#include <asm/hardirq.h>
-#include <asm/scatterlist.h>
-#include <asm/io.h>
/*
* These are the values that the SCpnt->sc_data_direction and
@@ -396,6 +383,7 @@
* Forward-declaration of structs for prototypes.
*/
struct Scsi_Host;
+struct scatterlist;
/*
* Add some typedefs so that we can prototyope a bunch of the functions.
@@ -551,7 +541,7 @@
unsigned flags;
};
-extern struct dev_info scsi_static_device_list[] __initdata;
+extern struct dev_info scsi_static_device_list[];
/*
* scsi_dev_info_list: structure to hold black/white listed devices.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-21 1:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-21 1:58 [PATCH] remove useless includes from scsi.h Christoph Hellwig
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.