diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:59:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:25:03 -0400 |
commit | a4cd16e2e8f0924d8e3a2391edc51556cad26d99 (patch) | |
tree | 9122164b7fd723808f1944b48a79ca82cbdbeb54 /drivers/scsi/dpti.h | |
parent | a1ae13a4dd1ad732f6fb55a55dec93524feca8bc (diff) |
[PATCH] drivers/scsi/dpt*: remove version.h dependencies
This patch removes version.h dependencies.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/dpti.h')
-rw-r--r-- | drivers/scsi/dpti.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/dpti.h b/drivers/scsi/dpti.h index 9821783c0164..489194af43d0 100644 --- a/drivers/scsi/dpti.h +++ b/drivers/scsi/dpti.h | |||
@@ -20,15 +20,7 @@ | |||
20 | #ifndef _DPT_H | 20 | #ifndef _DPT_H |
21 | #define _DPT_H | 21 | #define _DPT_H |
22 | 22 | ||
23 | #ifndef LINUX_VERSION_CODE | ||
24 | #include <linux/version.h> | ||
25 | #endif | ||
26 | |||
27 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,00) | ||
28 | #define MAX_TO_IOP_MESSAGES (210) | ||
29 | #else | ||
30 | #define MAX_TO_IOP_MESSAGES (255) | 23 | #define MAX_TO_IOP_MESSAGES (255) |
31 | #endif | ||
32 | #define MAX_FROM_IOP_MESSAGES (255) | 24 | #define MAX_FROM_IOP_MESSAGES (255) |
33 | 25 | ||
34 | 26 | ||
@@ -321,10 +313,6 @@ static int adpt_close(struct inode *inode, struct file *file); | |||
321 | static void adpt_delay(int millisec); | 313 | static void adpt_delay(int millisec); |
322 | #endif | 314 | #endif |
323 | 315 | ||
324 | #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) | ||
325 | static struct pci_dev* adpt_pci_find_device(uint vendor, struct pci_dev* from); | ||
326 | #endif | ||
327 | |||
328 | #if defined __ia64__ | 316 | #if defined __ia64__ |
329 | static void adpt_ia64_info(sysInfo_S* si); | 317 | static void adpt_ia64_info(sysInfo_S* si); |
330 | #endif | 318 | #endif |