diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-04-11 19:12:34 +0200 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-04-11 19:12:34 +0200 |
commit | 35bb94b116e1fd4959ef0d3187458b5820eac8c4 (patch) | |
tree | 48a05166c489838d04429279a2886ac6a32b20c9 /drivers/scsi/sata_svw.c | |
parent | libata: Fix EH merge difference between this branch and upstream. (diff) | |
download | linux-35bb94b116e1fd4959ef0d3187458b5820eac8c4.tar.xz linux-35bb94b116e1fd4959ef0d3187458b5820eac8c4.zip |
libata: Add helper ata_shost_to_port()
Diffstat (limited to 'drivers/scsi/sata_svw.c')
-rw-r--r-- | drivers/scsi/sata_svw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sata_svw.c b/drivers/scsi/sata_svw.c index e15c693e0539..d5eb5375e265 100644 --- a/drivers/scsi/sata_svw.c +++ b/drivers/scsi/sata_svw.c @@ -257,7 +257,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, int len, index; /* Find the ata_port */ - ap = (struct ata_port *) &shost->hostdata[0]; + ap = ata_shost_to_port(shost); if (ap == NULL) return 0; |