diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2015-02-24 00:37:52 +0300 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-03-06 03:39:17 +0300 |
commit | 3edc6373939d16ff2b4d54aa12059d004bf62884 (patch) | |
tree | 5c4e9cc80fa2dd32ba3faa17348265828f6d5547 /arch | |
parent | fd623507bdcee1f7a387ae86adb7a66b431dd056 (diff) | |
download | linux-3edc6373939d16ff2b4d54aa12059d004bf62884.tar.xz |
PCI: quirks: Fix backport of quirk_io()
Commit 06cf35f903aa ('PCI: Handle read-only BARs on AMD CS553x
devices') added the function quirk_io() which calls
pcibios_bus_to_resource().
Prior to Linux 3.14, pcibios_bus_to_resource() takes a pointer to
struct pci_dev and looks up the device's bus itself, so we need
to pass dev not dev->bus.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions