[SCSI] pm8001: set SSC down-spreading only to get less errors on some 6G device.
[safe/jmp/linux-2.6] / drivers / scsi / aha1740.c
index ed0e3e5..5381357 100644 (file)
@@ -646,7 +646,7 @@ static int aha1740_probe (struct device *dev)
 
 static __devexit int aha1740_remove (struct device *dev)
 {
-       struct Scsi_Host *shpnt = dev->driver_data;
+       struct Scsi_Host *shpnt = dev_get_drvdata(dev);
        struct aha1740_hostdata *host = HOSTDATA (shpnt);
 
        scsi_remove_host(shpnt);