diff options
author | Frederick Lawler <fred@fredlawl.com> | 2019-07-17 21:07:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-21 13:29:47 -0700 |
commit | 93428c582604f5d548afa885e72acaa16f03cc8d (patch) | |
tree | 1b58f5e8ff8d0b81f7eeac30ff167f7891c7948c /include | |
parent | a16f6d3a150543ddb7d78ab5ee4ca2f301ef9c6b (diff) | |
download | linux-93428c582604f5d548afa885e72acaa16f03cc8d.tar.bz2 |
qed: Prefer pcie_capability_read_word()
Commit 8c0d3a02c130 ("PCI: Add accessors for PCI Express Capability")
added accessors for the PCI Express Capability so that drivers didn't
need to be aware of differences between v1 and v2 of the PCI
Express Capability.
Replace pci_read_config_word() and pci_write_config_word() calls with
pcie_capability_read_word() and pcie_capability_write_word().
Signed-off-by: Frederick Lawler <fred@fredlawl.com>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions