diff options
Diffstat (limited to 'drivers/scsi/nsp32.c')
-rw-r--r-- | drivers/scsi/nsp32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c index 22052bb7becb..d06ec5aa6924 100644 --- a/drivers/scsi/nsp32.c +++ b/drivers/scsi/nsp32.c | |||
@@ -3401,8 +3401,7 @@ static int __devinit nsp32_probe(struct pci_dev *pdev, const struct pci_device_i | |||
3401 | data->IrqNumber = pdev->irq; | 3401 | data->IrqNumber = pdev->irq; |
3402 | data->BaseAddress = pci_resource_start(pdev, 0); | 3402 | data->BaseAddress = pci_resource_start(pdev, 0); |
3403 | data->NumAddress = pci_resource_len (pdev, 0); | 3403 | data->NumAddress = pci_resource_len (pdev, 0); |
3404 | data->MmioAddress = ioremap_nocache(pci_resource_start(pdev, 1), | 3404 | data->MmioAddress = pci_ioremap_bar(pdev, 1); |
3405 | pci_resource_len (pdev, 1)); | ||
3406 | data->MmioLength = pci_resource_len (pdev, 1); | 3405 | data->MmioLength = pci_resource_len (pdev, 1); |
3407 | 3406 | ||
3408 | pci_set_master(pdev); | 3407 | pci_set_master(pdev); |