aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-02-04 10:42:16 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2008-02-04 10:42:16 -0500
commit7cf7669143db087e5cb36d1e07143938ff467147 (patch)
tree30bd5643d4f799badeb37a6a7cc47500d4a4eb36 /drivers/scsi
parent9135f1901ee6449dfe338adf6e40e9c2025b8150 (diff)
parent451124a7cc6c89fcb83d48082c7290f16f652f1c (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pci-2.6: PCI: fix 4x section mismatch warnings PCI: fix section mismatch warnings referring to pci_do_scan_bus pci: pci_enable_device_bars() fix for lpfc driver Revert "PCI: PCIE ASPM support"
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 29b4cf9e059b..6cfeba7454d4 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -1894,7 +1894,7 @@ lpfc_pci_probe_one(struct pci_dev *pdev, const struct pci_device_id *pid)
1894 uint16_t iotag; 1894 uint16_t iotag;
1895 int bars = pci_select_bars(pdev, IORESOURCE_MEM); 1895 int bars = pci_select_bars(pdev, IORESOURCE_MEM);
1896 1896
1897 if (pci_enable_device_bars(pdev, bars)) 1897 if (pci_enable_device_mem(pdev))
1898 goto out; 1898 goto out;
1899 if (pci_request_selected_regions(pdev, bars, LPFC_DRIVER_NAME)) 1899 if (pci_request_selected_regions(pdev, bars, LPFC_DRIVER_NAME))
1900 goto out_disable_device; 1900 goto out_disable_device;