aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sgiwd93.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sgiwd93.c')
-rw-r--r--drivers/scsi/sgiwd93.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c
index 09fd203e4b86..bf2ceb54354c 100644
--- a/drivers/scsi/sgiwd93.c
+++ b/drivers/scsi/sgiwd93.c
@@ -15,7 +15,6 @@
15#include <linux/types.h> 15#include <linux/types.h>
16#include <linux/mm.h> 16#include <linux/mm.h>
17#include <linux/blkdev.h> 17#include <linux/blkdev.h>
18#include <linux/version.h>
19#include <linux/delay.h> 18#include <linux/delay.h>
20#include <linux/dma-mapping.h> 19#include <linux/dma-mapping.h>
21#include <linux/spinlock.h> 20#include <linux/spinlock.h>
@@ -218,7 +217,7 @@ static inline void init_hpc_chain(struct hpc_data *hd)
218} 217}
219 218
220static struct Scsi_Host * __init sgiwd93_setup_scsi( 219static struct Scsi_Host * __init sgiwd93_setup_scsi(
221 Scsi_Host_Template *SGIblows, int unit, int irq, 220 struct scsi_host_template *SGIblows, int unit, int irq,
222 struct hpc3_scsiregs *hregs, unsigned char *wdregs) 221 struct hpc3_scsiregs *hregs, unsigned char *wdregs)
223{ 222{
224 struct ip22_hostdata *hdata; 223 struct ip22_hostdata *hdata;
@@ -266,7 +265,7 @@ out_unregister:
266 return NULL; 265 return NULL;
267} 266}
268 267
269int __init sgiwd93_detect(Scsi_Host_Template *SGIblows) 268int __init sgiwd93_detect(struct scsi_host_template *SGIblows)
270{ 269{
271 int found = 0; 270 int found = 0;
272 271
@@ -325,7 +324,7 @@ static int sgiwd93_bus_reset(Scsi_Cmnd *cmd)
325 * arguments not with pointers. So this is going to blow up beautyfully 324 * arguments not with pointers. So this is going to blow up beautyfully
326 * on 64-bit systems with memory outside the compat address spaces. 325 * on 64-bit systems with memory outside the compat address spaces.
327 */ 326 */
328static Scsi_Host_Template driver_template = { 327static struct scsi_host_template driver_template = {
329 .proc_name = "SGIWD93", 328 .proc_name = "SGIWD93",
330 .name = "SGI WD93", 329 .name = "SGI WD93",
331 .detect = sgiwd93_detect, 330 .detect = sgiwd93_detect,