diff options
Diffstat (limited to 'drivers/scsi/aha1740.c')
-rw-r--r-- | drivers/scsi/aha1740.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha1740.c b/drivers/scsi/aha1740.c index ed0e3e55652a..538135783aab 100644 --- a/drivers/scsi/aha1740.c +++ b/drivers/scsi/aha1740.c | |||
@@ -646,7 +646,7 @@ static int aha1740_probe (struct device *dev) | |||
646 | 646 | ||
647 | static __devexit int aha1740_remove (struct device *dev) | 647 | static __devexit int aha1740_remove (struct device *dev) |
648 | { | 648 | { |
649 | struct Scsi_Host *shpnt = dev->driver_data; | 649 | struct Scsi_Host *shpnt = dev_get_drvdata(dev); |
650 | struct aha1740_hostdata *host = HOSTDATA (shpnt); | 650 | struct aha1740_hostdata *host = HOSTDATA (shpnt); |
651 | 651 | ||
652 | scsi_remove_host(shpnt); | 652 | scsi_remove_host(shpnt); |