ppc32: export a few more things where they are defined
authorPaul Mackerras <paulus@samba.org>
Tue, 4 Oct 2005 04:28:29 +0000 (14:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 4 Oct 2005 04:28:29 +0000 (14:28 +1000)
... and remove the exports from ppc_ksyms.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/pci.c
arch/ppc/kernel/ppc_ksyms.c

index 2d3c557538b54c181616a7d2f58a03eaea172481..b5cf52f5909ea61a4f9690c1a592063db2beca52 100644 (file)
@@ -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,
index 7872c6c457326b406b71d0afa343186e794dff02..f4373fb9181f744c79ce4c91af5277af6a878ed6 100644 (file)
@@ -230,9 +230,6 @@ EXPORT_SYMBOL(find_all_nodes);
 EXPORT_SYMBOL(get_property);
 EXPORT_SYMBOL(request_OF_resource);
 EXPORT_SYMBOL(release_OF_resource);
-EXPORT_SYMBOL(pci_busdev_to_OF_node);
-EXPORT_SYMBOL(pci_device_to_OF_node);
-EXPORT_SYMBOL(pci_device_from_OF_node);
 EXPORT_SYMBOL(of_find_node_by_name);
 EXPORT_SYMBOL(of_find_node_by_type);
 EXPORT_SYMBOL(of_find_compatible_node);