summaryrefslogtreecommitdiff
path: root/drivers/scsi/gdth_kcompat.h
diff options
context:
space:
mode:
authorLeubner, Achim <Achim_Leubner@adaptec.com>2006-06-09 11:34:29 -0700
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-10 10:24:40 -0500
commitcbd5f69b98bb5d7a0d207230bcf8fa51fca3f3cf (patch)
treef828a83b0e8006316b6b7a61819f4ef4ce6eac04 /drivers/scsi/gdth_kcompat.h
parent5d5ff44fe6775ccb922fd1f7d478b2ba9ca95068 (diff)
[SCSI] remove the scsi_request interface from the gdth driver
Initial pass at converting the gdth driver away from the scsi_request interface so that the request interface can be removed post 2.6.18 without breaking gdth. Based on changes from Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/gdth_kcompat.h')
-rw-r--r--drivers/scsi/gdth_kcompat.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/scsi/gdth_kcompat.h b/drivers/scsi/gdth_kcompat.h
index e6cf0edfa0ca..2a302eee669a 100644
--- a/drivers/scsi/gdth_kcompat.h
+++ b/drivers/scsi/gdth_kcompat.h
@@ -1,5 +1,3 @@
-
-
#ifndef IRQ_HANDLED
typedef void irqreturn_t;
#define IRQ_NONE
@@ -10,6 +8,18 @@ typedef void irqreturn_t;
#define MODULE_LICENSE(x)
#endif
+#ifndef __iomem
+#define __iomem
+#endif
+
+#ifndef __attribute_used__
+#define __attribute_used__ __devinitdata
+#endif
+
+#ifndef __user
+#define __user
+#endif
+
#ifndef SERVICE_ACTION_IN
#define SERVICE_ACTION_IN 0x9e
#endif