diff options
Diffstat (limited to 'drivers/scsi/psi240i.c')
-rw-r--r-- | drivers/scsi/psi240i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/psi240i.c b/drivers/scsi/psi240i.c index 0f576d4ad0dd..4322c95c995c 100644 --- a/drivers/scsi/psi240i.c +++ b/drivers/scsi/psi240i.c | |||
@@ -659,7 +659,7 @@ static int Psi240i_BiosParam (struct scsi_device *sdev, struct block_device *dev | |||
659 | { | 659 | { |
660 | POUR_DEVICE pdev; | 660 | POUR_DEVICE pdev; |
661 | 661 | ||
662 | pdev = &(HOSTDATA(sdev->host)->device[sdev->id]); | 662 | pdev = &(HOSTDATA(sdev->host)->device[sdev_id(sdev)]); |
663 | 663 | ||
664 | geom[0] = pdev->heads; | 664 | geom[0] = pdev->heads; |
665 | geom[1] = pdev->sectors; | 665 | geom[1] = pdev->sectors; |