diff options
| -rw-r--r-- | drivers/scsi/qla4xxx/ql4_nx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index 228b67020d2c..939d7261c37a 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c | |||
| @@ -1590,7 +1590,7 @@ qla4_8xxx_start_firmware(struct scsi_qla_host *ha, uint32_t image_start) | |||
| 1590 | } | 1590 | } |
| 1591 | 1591 | ||
| 1592 | /* Negotiated Link width */ | 1592 | /* Negotiated Link width */ |
| 1593 | pcie_cap = pci_find_capability(ha->pdev, PCI_CAP_ID_EXP); | 1593 | pcie_cap = pci_pcie_cap(ha->pdev); |
| 1594 | pci_read_config_word(ha->pdev, pcie_cap + PCI_EXP_LNKSTA, &lnk); | 1594 | pci_read_config_word(ha->pdev, pcie_cap + PCI_EXP_LNKSTA, &lnk); |
| 1595 | ha->link_width = (lnk >> 4) & 0x3f; | 1595 | ha->link_width = (lnk >> 4) & 0x3f; |
| 1596 | 1596 | ||
