aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gdth_kcompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/gdth_kcompat.h')
-rw-r--r--drivers/scsi/gdth_kcompat.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/scsi/gdth_kcompat.h b/drivers/scsi/gdth_kcompat.h
new file mode 100644
index 000000000000..e6cf0edfa0ca
--- /dev/null
+++ b/drivers/scsi/gdth_kcompat.h
@@ -0,0 +1,21 @@
1
2
3#ifndef IRQ_HANDLED
4typedef void irqreturn_t;
5#define IRQ_NONE
6#define IRQ_HANDLED
7#endif
8
9#ifndef MODULE_LICENSE
10#define MODULE_LICENSE(x)
11#endif
12
13#ifndef SERVICE_ACTION_IN
14#define SERVICE_ACTION_IN 0x9e
15#endif
16#ifndef READ_16
17#define READ_16 0x88
18#endif
19#ifndef WRITE_16
20#define WRITE_16 0x8a
21#endif