]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd248272735446781701b17b1eb46c107517abaf5
tree28519422f156133241851c29dac86ed451e00018
parent1fdb2728eb42c25e7eddc72ec9032114a96c7979
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