diff options
Diffstat (limited to 'drivers/scsi/arm/powertec.c')
-rw-r--r-- | drivers/scsi/arm/powertec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/arm/powertec.c b/drivers/scsi/arm/powertec.c index abda216113f1..3333d7b39139 100644 --- a/drivers/scsi/arm/powertec.c +++ b/drivers/scsi/arm/powertec.c | |||
@@ -132,7 +132,7 @@ powertecscsi_intr(int irq, void *dev_id, struct pt_regs *regs) | |||
132 | * Returns : type of transfer to be performed | 132 | * Returns : type of transfer to be performed |
133 | */ | 133 | */ |
134 | static fasdmatype_t | 134 | static fasdmatype_t |
135 | powertecscsi_dma_setup(struct Scsi_Host *host, Scsi_Pointer *SCp, | 135 | powertecscsi_dma_setup(struct Scsi_Host *host, struct scsi_pointer *SCp, |
136 | fasdmadir_t direction, fasdmatype_t min_type) | 136 | fasdmadir_t direction, fasdmatype_t min_type) |
137 | { | 137 | { |
138 | struct powertec_info *info = (struct powertec_info *)host->hostdata; | 138 | struct powertec_info *info = (struct powertec_info *)host->hostdata; |
@@ -174,7 +174,7 @@ powertecscsi_dma_setup(struct Scsi_Host *host, Scsi_Pointer *SCp, | |||
174 | * SCpnt - command | 174 | * SCpnt - command |
175 | */ | 175 | */ |
176 | static void | 176 | static void |
177 | powertecscsi_dma_stop(struct Scsi_Host *host, Scsi_Pointer *SCp) | 177 | powertecscsi_dma_stop(struct Scsi_Host *host, struct scsi_pointer *SCp) |
178 | { | 178 | { |
179 | struct powertec_info *info = (struct powertec_info *)host->hostdata; | 179 | struct powertec_info *info = (struct powertec_info *)host->hostdata; |
180 | if (info->info.scsi.dma != NO_DMA) | 180 | if (info->info.scsi.dma != NO_DMA) |
@@ -293,7 +293,7 @@ powertecscsi_store_term(struct device *dev, struct device_attribute *attr, const | |||
293 | static DEVICE_ATTR(bus_term, S_IRUGO | S_IWUSR, | 293 | static DEVICE_ATTR(bus_term, S_IRUGO | S_IWUSR, |
294 | powertecscsi_show_term, powertecscsi_store_term); | 294 | powertecscsi_show_term, powertecscsi_store_term); |
295 | 295 | ||
296 | static Scsi_Host_Template powertecscsi_template = { | 296 | static struct scsi_host_template powertecscsi_template = { |
297 | .module = THIS_MODULE, | 297 | .module = THIS_MODULE, |
298 | .proc_info = powertecscsi_proc_info, | 298 | .proc_info = powertecscsi_proc_info, |
299 | .name = "PowerTec SCSI", | 299 | .name = "PowerTec SCSI", |