summaryrefslogtreecommitdiffstats
path: root/arch/ppc/kernel/pci.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-04 14:28:29 +1000
committerPaul Mackerras <paulus@samba.org>2005-10-04 14:28:29 +1000
commitdd8cad6be2822c7df4ecc5eba12903ba43e09f06 (patch)
tree691534ec7a436e6cb6ed0b3988a254dab0d812c9 /arch/ppc/kernel/pci.c
parent292dcc86dd69e343630ab49ce96a418345c174fc (diff)
downloadop-kernel-dev-dd8cad6be2822c7df4ecc5eba12903ba43e09f06.zip
op-kernel-dev-dd8cad6be2822c7df4ecc5eba12903ba43e09f06.tar.gz
ppc32: export a few more things where they are defined
... and remove the exports from ppc_ksyms.c. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/kernel/pci.c')
-rw-r--r--arch/ppc/kernel/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c
index 2d3c557..b5cf52f 100644
--- a/arch/ppc/kernel/pci.c
+++ b/arch/ppc/kernel/pci.c
@@ -813,12 +813,14 @@ pci_busdev_to_OF_node(struct pci_bus *bus, int devfn)
/* Now, lookup childs of the hose */
return scan_OF_childs_for_device(node->child, busnr, devfn);
}
+EXPORT_SYMBOL(pci_busdev_to_OF_node);
struct device_node*
pci_device_to_OF_node(struct pci_dev *dev)
{
return pci_busdev_to_OF_node(dev->bus, dev->devfn);
}
+EXPORT_SYMBOL(pci_device_to_OF_node);
/* This routine is meant to be used early during boot, when the
* PCI bus numbers have not yet been assigned, and you need to
@@ -890,6 +892,7 @@ pci_device_from_OF_node(struct device_node* node, u8* bus, u8* devfn)
}
return -ENODEV;
}
+EXPORT_SYMBOL(pci_device_from_OF_node);
void __init
pci_process_bridge_OF_ranges(struct pci_controller *hose,
OpenPOWER on IntegriCloud