Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68932
b: refs/heads/master
c: dffe807
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent d5a1314 commit 6c9d07d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6fdea8dbbe4fc021afb601ef5339d5c5825c5cb6
refs/heads/master: dffe807cdbc6d2409b9bcc87a9517bb7c0d25b65
11 changes: 4 additions & 7 deletions trunk/drivers/scsi/ncr53c8xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -8528,18 +8528,15 @@ struct Scsi_Host * __init ncr_attach(struct scsi_host_template *tpnt,
}


int ncr53c8xx_release(struct Scsi_Host *host)
void ncr53c8xx_release(struct Scsi_Host *host)
{
struct host_data *host_data;
struct host_data *host_data = shost_priv(host);
#ifdef DEBUG_NCR53C8XX
printk("ncr53c8xx: release\n");
#endif
if (!host)
return 1;
host_data = (struct host_data *)host->hostdata;
if (host_data && host_data->ncb)
if (host_data->ncb)
ncr_detach(host_data->ncb);
return 1;
scsi_host_put(host);
}

static void ncr53c8xx_set_period(struct scsi_target *starget, int period)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/ncr53c8xx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ struct ncr_device {
};

extern struct Scsi_Host *ncr_attach(struct scsi_host_template *tpnt, int unit, struct ncr_device *device);
extern int ncr53c8xx_release(struct Scsi_Host *host);
extern void ncr53c8xx_release(struct Scsi_Host *host);
irqreturn_t ncr53c8xx_intr(int irq, void *dev_id);
extern int ncr53c8xx_init(void);
extern void ncr53c8xx_exit(void);
Expand Down

0 comments on commit 6c9d07d

Please sign in to comment.