diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2017-10-04 16:40:46 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-11-07 19:38:48 -0500 |
commit | 7b30aa1f237045fd54a0e9b050c7c06dff6b711a (patch) | |
tree | c330b0acfa14a335cace8f1e786c9808ce9b80f2 | |
parent | be2d877aaa043d23c0522fd3c7491b8ef7b631fa (diff) |
PCI: Remove unused declarations
Remove these unused declarations:
pcibios_config_init() # never defined anywhere
pcibios_scan_root() # only defined by x86
pcibios_get_irq_routing_table() # only defined by x86
pcibios_set_irq_routing() # only defined by x86
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/cris/include/asm/pci.h | 6 | ||||
-rw-r--r-- | arch/ia64/include/asm/pci.h | 2 | ||||
-rw-r--r-- | arch/mn10300/unit-asb2305/pci-asb2305.h | 3 | ||||
-rw-r--r-- | arch/x86/include/asm/pci.h | 1 |
4 files changed, 0 insertions, 12 deletions
diff --git a/arch/cris/include/asm/pci.h b/arch/cris/include/asm/pci.h index 8ea640560a46..141337bf16bc 100644 --- a/arch/cris/include/asm/pci.h +++ b/arch/cris/include/asm/pci.h | |||
@@ -16,12 +16,6 @@ | |||
16 | 16 | ||
17 | #define PCIBIOS_MIN_CARDBUS_IO 0x4000 | 17 | #define PCIBIOS_MIN_CARDBUS_IO 0x4000 |
18 | 18 | ||
19 | void pcibios_config_init(void); | ||
20 | struct pci_bus * pcibios_scan_root(int bus); | ||
21 | |||
22 | struct irq_routing_table *pcibios_get_irq_routing_table(void); | ||
23 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | ||
24 | |||
25 | /* Dynamic DMA mapping stuff. | 19 | /* Dynamic DMA mapping stuff. |
26 | * i386 has everything mapped statically. | 20 | * i386 has everything mapped statically. |
27 | */ | 21 | */ |
diff --git a/arch/ia64/include/asm/pci.h b/arch/ia64/include/asm/pci.h index 8c4b37f6be3d..915531ede6a5 100644 --- a/arch/ia64/include/asm/pci.h +++ b/arch/ia64/include/asm/pci.h | |||
@@ -29,8 +29,6 @@ struct pci_vector_struct { | |||
29 | #define PCIBIOS_MIN_IO 0x1000 | 29 | #define PCIBIOS_MIN_IO 0x1000 |
30 | #define PCIBIOS_MIN_MEM 0x10000000 | 30 | #define PCIBIOS_MIN_MEM 0x10000000 |
31 | 31 | ||
32 | void pcibios_config_init(void); | ||
33 | |||
34 | /* | 32 | /* |
35 | * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct | 33 | * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct |
36 | * correspondence between device bus addresses and CPU physical addresses. | 34 | * correspondence between device bus addresses and CPU physical addresses. |
diff --git a/arch/mn10300/unit-asb2305/pci-asb2305.h b/arch/mn10300/unit-asb2305/pci-asb2305.h index 96c484b12226..0667f613b023 100644 --- a/arch/mn10300/unit-asb2305/pci-asb2305.h +++ b/arch/mn10300/unit-asb2305/pci-asb2305.h | |||
@@ -30,9 +30,6 @@ extern void pcibios_resource_survey(void); | |||
30 | 30 | ||
31 | extern struct pci_ops *pci_root_ops; | 31 | extern struct pci_ops *pci_root_ops; |
32 | 32 | ||
33 | extern struct irq_routing_table *pcibios_get_irq_routing_table(void); | ||
34 | extern int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | ||
35 | |||
36 | /* pci-irq.c */ | 33 | /* pci-irq.c */ |
37 | 34 | ||
38 | struct irq_info { | 35 | struct irq_info { |
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index 645019085bb8..53873a875c01 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h | |||
@@ -88,7 +88,6 @@ extern unsigned long pci_mem_start; | |||
88 | #define PCIBIOS_MIN_CARDBUS_IO 0x4000 | 88 | #define PCIBIOS_MIN_CARDBUS_IO 0x4000 |
89 | 89 | ||
90 | extern int pcibios_enabled; | 90 | extern int pcibios_enabled; |
91 | void pcibios_config_init(void); | ||
92 | void pcibios_scan_root(int bus); | 91 | void pcibios_scan_root(int bus); |
93 | 92 | ||
94 | struct irq_routing_table *pcibios_get_irq_routing_table(void); | 93 | struct irq_routing_table *pcibios_get_irq_routing_table(void); |