Commit c03d10ab authored by Michal Piotrowski's avatar Michal Piotrowski Committed by James Bottomley

[SCSI] drivers/scsi/gdth.h: removal of old scsi code

Signed-off-by: default avatarMichal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 288777f8
...@@ -936,18 +936,12 @@ typedef struct { ...@@ -936,18 +936,12 @@ typedef struct {
gdth_binfo_str binfo; /* controller info */ gdth_binfo_str binfo; /* controller info */
gdth_evt_data dvr; /* event structure */ gdth_evt_data dvr; /* event structure */
spinlock_t smp_lock; spinlock_t smp_lock;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
struct pci_dev *pdev; struct pci_dev *pdev;
#endif
char oem_name[8]; char oem_name[8];
#ifdef GDTH_DMA_STATISTICS #ifdef GDTH_DMA_STATISTICS
ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */ ulong dma32_cnt, dma64_cnt; /* statistics: DMA buffer */
#endif #endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
struct scsi_device *sdev; struct scsi_device *sdev;
#else
struct scsi_device sdev;
#endif
} gdth_ha_str; } gdth_ha_str;
/* structure for scsi_register(), SCSI bus != 0 */ /* structure for scsi_register(), SCSI bus != 0 */
...@@ -1029,10 +1023,6 @@ typedef struct { ...@@ -1029,10 +1023,6 @@ typedef struct {
/* function prototyping */ /* function prototyping */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int); int gdth_proc_info(struct Scsi_Host *, char *,char **,off_t,int,int);
#else
int gdth_proc_info(char *,char **,off_t,int,int,int);
#endif
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment