diff options
Diffstat (limited to 'drivers/scsi/nsp32.c')
-rw-r--r-- | drivers/scsi/nsp32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index e4ff4f00676d..a279ebb61447 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -198,7 +198,7 @@ static void __devexit nsp32_remove(struct pci_dev *); | |||
198 | static int __init init_nsp32 (void); | 198 | static int __init init_nsp32 (void); |
199 | static void __exit exit_nsp32 (void); | 199 | static void __exit exit_nsp32 (void); |
200 | 200 | ||
201 | /* struct Scsi_Host_Template */ | 201 | /* struct struct scsi_host_template */ |
202 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,73)) | 202 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,73)) |
203 | static int nsp32_proc_info (struct Scsi_Host *, char *, char **, off_t, int, int); | 203 | static int nsp32_proc_info (struct Scsi_Host *, char *, char **, off_t, int, int); |
204 | #else | 204 | #else |
@@ -208,7 +208,7 @@ static int nsp32_proc_info (char *, char **, off_t, int, int, int); | |||
208 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,73)) | 208 | #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,73)) |
209 | static int nsp32_detect (struct pci_dev *pdev); | 209 | static int nsp32_detect (struct pci_dev *pdev); |
210 | #else | 210 | #else |
211 | static int nsp32_detect (Scsi_Host_Template *); | 211 | static int nsp32_detect (struct scsi_host_template *); |
212 | #endif | 212 | #endif |
213 | static int nsp32_queuecommand(struct scsi_cmnd *, | 213 | static int nsp32_queuecommand(struct scsi_cmnd *, |
214 | void (*done)(struct scsi_cmnd *)); | 214 | void (*done)(struct scsi_cmnd *)); |
@@ -2683,7 +2683,7 @@ static int nsp32_detect(struct pci_dev *pdev) | |||
2683 | #define DETECT_OK 1 | 2683 | #define DETECT_OK 1 |
2684 | #define DETECT_NG 0 | 2684 | #define DETECT_NG 0 |
2685 | #define PCIDEV (data->Pci) | 2685 | #define PCIDEV (data->Pci) |
2686 | static int nsp32_detect(Scsi_Host_Template *sht) | 2686 | static int nsp32_detect(struct scsi_host_template *sht) |
2687 | #endif | 2687 | #endif |
2688 | { | 2688 | { |
2689 | struct Scsi_Host *host; /* registered host structure */ | 2689 | struct Scsi_Host *host; /* registered host structure */ |