diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2012-10-30 02:26:18 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-11-07 11:43:28 -0500 |
commit | 642c92da36ae0bed3c31fdd408411ab95f4e326b (patch) | |
tree | 28519422f156133241851c29dac86ed451e00018 /include/linux/pci.h | |
parent | d4761ba2d6adbe24c792ec6223a5884ae4e82430 (diff) |
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>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 786094254d57..9253af697ca4 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1604,7 +1604,7 @@ static inline void pci_mmcfg_early_init(void) { } | |||
1604 | static inline void pci_mmcfg_late_init(void) { } | 1604 | static inline void pci_mmcfg_late_init(void) { } |
1605 | #endif | 1605 | #endif |
1606 | 1606 | ||
1607 | int pci_ext_cfg_avail(struct pci_dev *dev); | 1607 | int pci_ext_cfg_avail(void); |
1608 | 1608 | ||
1609 | void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar); | 1609 | void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar); |
1610 | 1610 | ||