diff options
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index 47eae0299750..8c29eafd51c5 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h | |||
@@ -936,18 +936,12 @@ typedef struct { | |||
936 | gdth_binfo_str binfo; /* controller info */ | 936 | gdth_binfo_str binfo; /* controller info */ |
937 | gdth_evt_data dvr; /* event structure */ | 937 | gdth_evt_data dvr; /* event structure */ |
938 | spinlock_t smp_lock; | 938 | spinlock_t smp_lock; |
939 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | ||
940 | struct pci_dev *pdev; | 939 | struct pci_dev *pdev; |
941 | #endif | ||
942 | char oem_name[8]; | 940 | char oem_name[8]; |
943 | #ifdef GDTH_DMA_STATISTICS | 941 | #ifdef GDTH_DMA_STATISTICS |
944 | ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */ | 942 | ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */ |
945 | #endif | 943 | #endif |
946 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0) | ||
947 | struct scsi_device *sdev; | 944 | struct scsi_device *sdev; |
948 | #else | ||
949 | struct scsi_device sdev; | ||
950 | #endif | ||
951 | } gdth_ha_str; | 945 | } gdth_ha_str; |
952 | 946 | ||
953 | /* structure for scsi_register(), SCSI bus != 0 */ | 947 | /* structure for scsi_register(), SCSI bus != 0 */ |
@@ -1029,10 +1023,6 @@ typedef struct { | |||
1029 | 1023 | ||
1030 | /* function prototyping */ | 1024 | /* function prototyping */ |
1031 | 1025 | ||
1032 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) | ||
1033 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); | 1026 | int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); |
1034 | #else | ||
1035 | int gdth_proc_info(char *,char **,off_t,int,int,int); | ||
1036 | #endif | ||
1037 | 1027 | ||
1038 | #endif | 1028 | #endif |