From: Ben Hutchings Date: Mon, 23 Feb 2015 21:37:52 +0000 (+0000) Subject: PCI: quirks: Fix backport of quirk_io() X-Git-Tag: v3.2.68~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3edc6373939d16ff2b4d54aa12059d004bf62884;p=pandora-kernel.git 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 --- Reading git-diff-tree failed