diff options
Diffstat (limited to 'drivers/scsi/pcmcia/nsp_cs.h')
-rw-r--r-- | drivers/scsi/pcmcia/nsp_cs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/pcmcia/nsp_cs.h b/drivers/scsi/pcmcia/nsp_cs.h index b66b140a745e..8908b8e5b78a 100644 --- a/drivers/scsi/pcmcia/nsp_cs.h +++ b/drivers/scsi/pcmcia/nsp_cs.h | |||
@@ -225,7 +225,7 @@ | |||
225 | /*====================================================================*/ | 225 | /*====================================================================*/ |
226 | 226 | ||
227 | typedef struct scsi_info_t { | 227 | typedef struct scsi_info_t { |
228 | dev_link_t link; | 228 | struct pcmcia_device *p_dev; |
229 | struct Scsi_Host *host; | 229 | struct Scsi_Host *host; |
230 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,74)) | 230 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,74)) |
231 | dev_node_t node; | 231 | dev_node_t node; |
@@ -297,8 +297,8 @@ typedef struct _nsp_hw_data { | |||
297 | 297 | ||
298 | /* Card service functions */ | 298 | /* Card service functions */ |
299 | static void nsp_cs_detach (struct pcmcia_device *p_dev); | 299 | static void nsp_cs_detach (struct pcmcia_device *p_dev); |
300 | static void nsp_cs_release(dev_link_t *link); | 300 | static void nsp_cs_release(struct pcmcia_device *link); |
301 | static void nsp_cs_config (dev_link_t *link); | 301 | static int nsp_cs_config (struct pcmcia_device *link); |
302 | 302 | ||
303 | /* Linux SCSI subsystem specific functions */ | 303 | /* Linux SCSI subsystem specific functions */ |
304 | static struct Scsi_Host *nsp_detect (struct scsi_host_template *sht); | 304 | static struct Scsi_Host *nsp_detect (struct scsi_host_template *sht); |
@@ -450,7 +450,7 @@ static inline struct Scsi_Host *scsi_host_hn_get(unsigned short hostno) | |||
450 | return host; | 450 | return host; |
451 | } | 451 | } |
452 | 452 | ||
453 | static void cs_error(client_handle_t handle, int func, int ret) | 453 | static void cs_error(struct pcmcia_device *handle, int func, int ret) |
454 | { | 454 | { |
455 | error_info_t err = { func, ret }; | 455 | error_info_t err = { func, ret }; |
456 | pcmcia_report_error(handle, &err); | 456 | pcmcia_report_error(handle, &err); |