Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343251
b: refs/heads/master
c: 642c92d
h: refs/heads/master
i:
  343249: 60025e8
  343247: 9a4660b
v: v3
  • Loading branch information
Taku Izumi authored and Bjorn Helgaas committed Nov 7, 2012
1 parent 11873d6 commit 9e6ca67
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d4761ba2d6adbe24c792ec6223a5884ae4e82430
refs/heads/master: 642c92da36ae0bed3c31fdd408411ab95f4e326b
2 changes: 1 addition & 1 deletion trunk/arch/x86/pci/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ void pcibios_disable_device (struct pci_dev *dev)
pcibios_disable_irq(dev);
}

int pci_ext_cfg_avail(struct pci_dev *dev)
int pci_ext_cfg_avail(void)
{
if (raw_pci_ext_ops)
return 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/acpi/pci_root.c
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ static int __devinit acpi_pci_root_add(struct acpi_device *device)
acpi_pci_bridge_scan(child);

/* Indicate support for various _OSC capabilities. */
if (pci_ext_cfg_avail(root->bus->self))
if (pci_ext_cfg_avail())
flags |= OSC_EXT_PCI_CONFIG_SUPPORT;
if (pcie_aspm_support_enabled())
flags |= OSC_ACTIVE_STATE_PWR_SUPPORT |
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -3833,14 +3833,13 @@ static void __devinit pci_no_domains(void)
}

/**
* pci_ext_cfg_enabled - can we access extended PCI config space?
* @dev: The PCI device of the root bridge.
* pci_ext_cfg_avail - can we access extended PCI config space?
*
* Returns 1 if we can access PCI extended config space (offsets
* greater than 0xff). This is the default implementation. Architecture
* implementations can override this.
*/
int __weak pci_ext_cfg_avail(struct pci_dev *dev)
int __weak pci_ext_cfg_avail(void)
{
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -1604,7 +1604,7 @@ static inline void pci_mmcfg_early_init(void) { }
static inline void pci_mmcfg_late_init(void) { }
#endif

int pci_ext_cfg_avail(struct pci_dev *dev);
int pci_ext_cfg_avail(void);

void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar);

Expand Down

0 comments on commit 9e6ca67

Please sign in to comment.