diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-04 00:28:29 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-04 00:28:29 -0400 |
commit | dd8cad6be2822c7df4ecc5eba12903ba43e09f06 (patch) | |
tree | 691534ec7a436e6cb6ed0b3988a254dab0d812c9 | |
parent | 292dcc86dd69e343630ab49ce96a418345c174fc (diff) |
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>
-rw-r--r-- | arch/ppc/kernel/pci.c | 3 | ||||
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c index 2d3c557538b5..b5cf52f5909e 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) | |||
813 | /* Now, lookup childs of the hose */ | 813 | /* Now, lookup childs of the hose */ |
814 | return scan_OF_childs_for_device(node->child, busnr, devfn); | 814 | return scan_OF_childs_for_device(node->child, busnr, devfn); |
815 | } | 815 | } |
816 | EXPORT_SYMBOL(pci_busdev_to_OF_node); | ||
816 | 817 | ||
817 | struct device_node* | 818 | struct device_node* |
818 | pci_device_to_OF_node(struct pci_dev *dev) | 819 | pci_device_to_OF_node(struct pci_dev *dev) |
819 | { | 820 | { |
820 | return pci_busdev_to_OF_node(dev->bus, dev->devfn); | 821 | return pci_busdev_to_OF_node(dev->bus, dev->devfn); |
821 | } | 822 | } |
823 | EXPORT_SYMBOL(pci_device_to_OF_node); | ||
822 | 824 | ||
823 | /* This routine is meant to be used early during boot, when the | 825 | /* This routine is meant to be used early during boot, when the |
824 | * PCI bus numbers have not yet been assigned, and you need to | 826 | * 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) | |||
890 | } | 892 | } |
891 | return -ENODEV; | 893 | return -ENODEV; |
892 | } | 894 | } |
895 | EXPORT_SYMBOL(pci_device_from_OF_node); | ||
893 | 896 | ||
894 | void __init | 897 | void __init |
895 | pci_process_bridge_OF_ranges(struct pci_controller *hose, | 898 | pci_process_bridge_OF_ranges(struct pci_controller *hose, |
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index 7872c6c45732..f4373fb9181f 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -230,9 +230,6 @@ EXPORT_SYMBOL(find_all_nodes); | |||
230 | EXPORT_SYMBOL(get_property); | 230 | EXPORT_SYMBOL(get_property); |
231 | EXPORT_SYMBOL(request_OF_resource); | 231 | EXPORT_SYMBOL(request_OF_resource); |
232 | EXPORT_SYMBOL(release_OF_resource); | 232 | EXPORT_SYMBOL(release_OF_resource); |
233 | EXPORT_SYMBOL(pci_busdev_to_OF_node); | ||
234 | EXPORT_SYMBOL(pci_device_to_OF_node); | ||
235 | EXPORT_SYMBOL(pci_device_from_OF_node); | ||
236 | EXPORT_SYMBOL(of_find_node_by_name); | 233 | EXPORT_SYMBOL(of_find_node_by_name); |
237 | EXPORT_SYMBOL(of_find_node_by_type); | 234 | EXPORT_SYMBOL(of_find_node_by_type); |
238 | EXPORT_SYMBOL(of_find_compatible_node); | 235 | EXPORT_SYMBOL(of_find_compatible_node); |