diff options
author | Dave Airlie <airlied@starflyer.(none)> | 2006-01-03 02:18:01 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-01-03 02:18:01 -0500 |
commit | 97f2aab6698f3ab2552c41c1024a65ffd0763a6d (patch) | |
tree | bb6e3b2949459f54f884c710fc74d40eef00d834 /drivers/scsi/pcmcia/nsp_cs.c | |
parent | d985c1088146607532093d9eaaaf99758f6a4d21 (diff) | |
parent | 88026842b0a760145aa71d69e74fbc9ec118ca44 (diff) |
drm: merge in Linus mainline
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.c')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.c b/drivers/scsi/pcmcia/nsp_cs.c index 3d2f71051fe5..050ea13ff80b 100644 --- a/drivers/scsi/pcmcia/nsp_cs.c +++ b/drivers/scsi/pcmcia/nsp_cs.c | |||
@@ -81,7 +81,7 @@ module_param(free_ports, bool, 0); | |||
81 | MODULE_PARM_DESC(free_ports, "Release IO ports after configuration? (default: 0 (=no))"); | 81 | MODULE_PARM_DESC(free_ports, "Release IO ports after configuration? (default: 0 (=no))"); |
82 | 82 | ||
83 | /* /usr/src/linux/drivers/scsi/hosts.h */ | 83 | /* /usr/src/linux/drivers/scsi/hosts.h */ |
84 | static Scsi_Host_Template nsp_driver_template = { | 84 | static struct scsi_host_template nsp_driver_template = { |
85 | .proc_name = "nsp_cs", | 85 | .proc_name = "nsp_cs", |
86 | .proc_info = nsp_proc_info, | 86 | .proc_info = nsp_proc_info, |
87 | .name = "WorkBit NinjaSCSI-3/32Bi(16bit)", | 87 | .name = "WorkBit NinjaSCSI-3/32Bi(16bit)", |
@@ -1310,7 +1310,7 @@ timer_out: | |||
1310 | /*----------------------------------------------------------------*/ | 1310 | /*----------------------------------------------------------------*/ |
1311 | /* look for ninja3 card and init if found */ | 1311 | /* look for ninja3 card and init if found */ |
1312 | /*----------------------------------------------------------------*/ | 1312 | /*----------------------------------------------------------------*/ |
1313 | static struct Scsi_Host *nsp_detect(Scsi_Host_Template *sht) | 1313 | static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht) |
1314 | { | 1314 | { |
1315 | struct Scsi_Host *host; /* registered host structure */ | 1315 | struct Scsi_Host *host; /* registered host structure */ |
1316 | nsp_hw_data *data_b = &nsp_data_base, *data; | 1316 | nsp_hw_data *data_b = &nsp_data_base, *data; |
@@ -1358,7 +1358,7 @@ static struct Scsi_Host *nsp_detect(Scsi_Host_Template *sht) | |||
1358 | } | 1358 | } |
1359 | 1359 | ||
1360 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) | 1360 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)) |
1361 | static int nsp_detect_old(Scsi_Host_Template *sht) | 1361 | static int nsp_detect_old(struct scsi_host_template *sht) |
1362 | { | 1362 | { |
1363 | if (nsp_detect(sht) == NULL) { | 1363 | if (nsp_detect(sht) == NULL) { |
1364 | return 0; | 1364 | return 0; |
@@ -1717,7 +1717,7 @@ static void nsp_cs_config(dev_link_t *link) | |||
1717 | struct Scsi_Host *host; | 1717 | struct Scsi_Host *host; |
1718 | nsp_hw_data *data = &nsp_data_base; | 1718 | nsp_hw_data *data = &nsp_data_base; |
1719 | #if !(LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,74)) | 1719 | #if !(LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,74)) |
1720 | Scsi_Device *dev; | 1720 | struct scsi_device *dev; |
1721 | dev_node_t **tail, *node; | 1721 | dev_node_t **tail, *node; |
1722 | #endif | 1722 | #endif |
1723 | 1723 | ||