summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun_esp.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-05-31 20:12:32 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-31 17:30:04 -0400
commit2b14ec787869707843a14164a3ba91930a076031 (patch)
tree1e065bdbf2ed30c7a9b3f7eecc4805b79649cd02 /drivers/scsi/sun_esp.c
parentbcd92c9fbcc679ee95003083056f0441a1f474fa (diff)
downloadlinux-stable-2b14ec787869707843a14164a3ba91930a076031.tar.gz
linux-stable-2b14ec787869707843a14164a3ba91930a076031.tar.bz2
linux-stable-2b14ec787869707843a14164a3ba91930a076031.zip
[SCSI] esp: use shost_priv
Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: David Miller <davem@davemloft.net> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sun_esp.c')
-rw-r--r--drivers/scsi/sun_esp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sun_esp.c b/drivers/scsi/sun_esp.c
index bbeb2451d32f..2c87db98cdfb 100644
--- a/drivers/scsi/sun_esp.c
+++ b/drivers/scsi/sun_esp.c
@@ -493,7 +493,7 @@ static int __devinit esp_sbus_probe_one(struct device *dev,
goto fail;
host->max_id = (hme ? 16 : 8);
- esp = host_to_esp(host);
+ esp = shost_priv(host);
esp->host = host;
esp->dev = esp_dev;