diff options
Diffstat (limited to 'drivers/scsi/stex.c')
-rw-r--r-- | drivers/scsi/stex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/stex.c b/drivers/scsi/stex.c index 2fa830c0be27..a3a18ad73125 100644 --- a/drivers/scsi/stex.c +++ b/drivers/scsi/stex.c | |||
@@ -1108,8 +1108,7 @@ stex_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1108 | goto out_scsi_host_put; | 1108 | goto out_scsi_host_put; |
1109 | } | 1109 | } |
1110 | 1110 | ||
1111 | hba->mmio_base = ioremap_nocache(pci_resource_start(pdev, 0), | 1111 | hba->mmio_base = pci_ioremap_bar(pdev, 0); |
1112 | pci_resource_len(pdev, 0)); | ||
1113 | if ( !hba->mmio_base) { | 1112 | if ( !hba->mmio_base) { |
1114 | printk(KERN_ERR DRV_NAME "(%s): memory map failed\n", | 1113 | printk(KERN_ERR DRV_NAME "(%s): memory map failed\n", |
1115 | pci_name(pdev)); | 1114 | pci_name(pdev)); |