]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/pci/pci.c
PCI: Don't pass pci_dev to pci_ext_cfg_avail()
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Tue, 30 Oct 2012 06:26:18 +0000 (15:26 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 7 Nov 2012 16:43:28 +0000 (09:43 -0700)
commit642c92da36ae0bed3c31fdd408411ab95f4e326b
tree28519422f156133241851c29dac86ed451e00018
parentd4761ba2d6adbe24c792ec6223a5884ae4e82430
PCI: Don't pass pci_dev to pci_ext_cfg_avail()

pci_ext_cfg_avail() doesn't use the "struct pci_dev *" passed to
it, and there's no requirement that a host bridge even be represented
by a pci_dev.  This drops the pci_ext_cfg_avail() parameter.

[bhelgaas: changelog]
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/common.c
drivers/acpi/pci_root.c
drivers/pci/pci.c
include/linux/pci.h