diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-28 18:40:36 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 12:38:29 -0500 |
commit | 49886cf4c4cd2ef77d0698c389199ad3e236f48e (patch) | |
tree | dbfdef07181cc0dd78d14f71984a5e3a17b3a2f2 /arch/x86/include/asm/pci.h | |
parent | 289a24a699ff808a9ebfaaf4c2759cb86932f664 (diff) |
x86/PCI: Drop return value of pcibios_scan_root()
Nobody really uses the return value of pcibios_scan_root() (one place uses
it to control a printk, but the printk is not very useful). This converts
pcibios_scan_root() to a void function.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/include/asm/pci.h')
-rw-r--r-- | arch/x86/include/asm/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index b52f9c0ec5fb..96ae4f4040bb 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h | |||
@@ -65,7 +65,7 @@ extern unsigned long pci_mem_start; | |||
65 | 65 | ||
66 | extern int pcibios_enabled; | 66 | extern int pcibios_enabled; |
67 | void pcibios_config_init(void); | 67 | void pcibios_config_init(void); |
68 | struct pci_bus *pcibios_scan_root(int bus); | 68 | void pcibios_scan_root(int bus); |
69 | 69 | ||
70 | void pcibios_set_master(struct pci_dev *dev); | 70 | void pcibios_set_master(struct pci_dev *dev); |
71 | void pcibios_penalize_isa_irq(int irq, int active); | 71 | void pcibios_penalize_isa_irq(int irq, int active); |