aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/pci-bridge.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-06-27 02:14:04 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-06-29 02:58:35 -0400
commit6a506238b33efd93e60c1585d654b37e292183de (patch)
tree69f985cd17a9bffeb9cf4aa97c67e5b133136f34 /include/asm-powerpc/pci-bridge.h
parentbf440b712d289b157c72f19b389b8d918a8c8c5c (diff)
[POWERPC] Removed dead code related to PCI on ppc32
There are no in kernel users of any off these functions and some of them were not even EXPORT_SYMBOL: - pci_bus_io_base() - pci_bus_io_base_phys() - pci_bus_mem_base_phys() - pci_resource_to_bus() - phys_to_bus() - pci_phys_to_bus() - pci_bus_to_phys() - pci_init_resource() - resource_fixup() Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/pci-bridge.h')
-rw-r--r--include/asm-powerpc/pci-bridge.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/asm-powerpc/pci-bridge.h b/include/asm-powerpc/pci-bridge.h
index 229ead98ed12..e2b2b6b7b6b8 100644
--- a/include/asm-powerpc/pci-bridge.h
+++ b/include/asm-powerpc/pci-bridge.h
@@ -9,21 +9,9 @@
9struct device_node; 9struct device_node;
10struct pci_controller; 10struct pci_controller;
11 11
12/*
13 * pci_io_base returns the memory address at which you can access
14 * the I/O space for PCI bus number `bus' (or NULL on error).
15 */
16extern void __iomem *pci_bus_io_base(unsigned int bus);
17extern unsigned long pci_bus_io_base_phys(unsigned int bus);
18extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
19
20/* Allocate a new PCI host bridge structure */ 12/* Allocate a new PCI host bridge structure */
21extern struct pci_controller* pcibios_alloc_controller(void); 13extern struct pci_controller* pcibios_alloc_controller(void);
22 14
23/* Helper function for setting up resources */
24extern void pci_init_resource(struct resource *res, resource_size_t start,
25 resource_size_t end, int flags, char *name);
26
27/* Get the PCI host controller for a bus */ 15/* Get the PCI host controller for a bus */
28extern struct pci_controller* pci_bus_to_hose(int bus); 16extern struct pci_controller* pci_bus_to_hose(int bus);
29 17