diff options
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/include/asm/oplib_32.h | 11 | ||||
-rw-r--r-- | arch/sparc/include/asm/oplib_64.h | 10 | ||||
-rw-r--r-- | arch/sparc/prom/tree_32.c | 2 | ||||
-rw-r--r-- | arch/sparc/prom/tree_64.c | 2 |
4 files changed, 0 insertions, 25 deletions
diff --git a/arch/sparc/include/asm/oplib_32.h b/arch/sparc/include/asm/oplib_32.h index 73d45521db04..33e31ce6b31f 100644 --- a/arch/sparc/include/asm/oplib_32.h +++ b/arch/sparc/include/asm/oplib_32.h | |||
@@ -177,17 +177,6 @@ extern void prom_putsegment(int context, unsigned long virt_addr, | |||
177 | 177 | ||
178 | /* PROM device tree traversal functions... */ | 178 | /* PROM device tree traversal functions... */ |
179 | 179 | ||
180 | #ifdef PROMLIB_INTERNAL | ||
181 | |||
182 | /* Internal version of prom_getchild. */ | ||
183 | extern int __prom_getchild(int parent_node); | ||
184 | |||
185 | /* Internal version of prom_getsibling. */ | ||
186 | extern int __prom_getsibling(int node); | ||
187 | |||
188 | #endif | ||
189 | |||
190 | |||
191 | /* Get the child node of the given node, or zero if no child exists. */ | 180 | /* Get the child node of the given node, or zero if no child exists. */ |
192 | extern int prom_getchild(int parent_node); | 181 | extern int prom_getchild(int parent_node); |
193 | 182 | ||
diff --git a/arch/sparc/include/asm/oplib_64.h b/arch/sparc/include/asm/oplib_64.h index 6d2c2ca98039..a5db0317b5fb 100644 --- a/arch/sparc/include/asm/oplib_64.h +++ b/arch/sparc/include/asm/oplib_64.h | |||
@@ -218,16 +218,6 @@ extern void prom_unmap(unsigned long size, unsigned long vaddr); | |||
218 | 218 | ||
219 | /* PROM device tree traversal functions... */ | 219 | /* PROM device tree traversal functions... */ |
220 | 220 | ||
221 | #ifdef PROMLIB_INTERNAL | ||
222 | |||
223 | /* Internal version of prom_getchild. */ | ||
224 | extern int __prom_getchild(int parent_node); | ||
225 | |||
226 | /* Internal version of prom_getsibling. */ | ||
227 | extern int __prom_getsibling(int node); | ||
228 | |||
229 | #endif | ||
230 | |||
231 | /* Get the child node of the given node, or zero if no child exists. */ | 221 | /* Get the child node of the given node, or zero if no child exists. */ |
232 | extern int prom_getchild(int parent_node); | 222 | extern int prom_getchild(int parent_node); |
233 | 223 | ||
diff --git a/arch/sparc/prom/tree_32.c b/arch/sparc/prom/tree_32.c index 9d9965cd8bca..431e04c364e2 100644 --- a/arch/sparc/prom/tree_32.c +++ b/arch/sparc/prom/tree_32.c | |||
@@ -34,7 +34,6 @@ int __prom_getchild(int node) | |||
34 | 34 | ||
35 | return cnode; | 35 | return cnode; |
36 | } | 36 | } |
37 | EXPORT_SYMBOL(__prom_getchild); | ||
38 | 37 | ||
39 | /* Return the child of node 'node' or zero if no this node has no | 38 | /* Return the child of node 'node' or zero if no this node has no |
40 | * direct descendent. | 39 | * direct descendent. |
@@ -67,7 +66,6 @@ int __prom_getsibling(int node) | |||
67 | 66 | ||
68 | return cnode; | 67 | return cnode; |
69 | } | 68 | } |
70 | EXPORT_SYMBOL(__prom_getsibling); | ||
71 | 69 | ||
72 | /* Return the next sibling of node 'node' or zero if no more siblings | 70 | /* Return the next sibling of node 'node' or zero if no more siblings |
73 | * at this level of depth in the tree. | 71 | * at this level of depth in the tree. |
diff --git a/arch/sparc/prom/tree_64.c b/arch/sparc/prom/tree_64.c index 175c709e39a9..8ea73ddc61dc 100644 --- a/arch/sparc/prom/tree_64.c +++ b/arch/sparc/prom/tree_64.c | |||
@@ -23,7 +23,6 @@ inline int __prom_getchild(int node) | |||
23 | { | 23 | { |
24 | return p1275_cmd ("child", P1275_INOUT(1, 1), node); | 24 | return p1275_cmd ("child", P1275_INOUT(1, 1), node); |
25 | } | 25 | } |
26 | EXPORT_SYMBOL(__prom_getchild); | ||
27 | 26 | ||
28 | inline int prom_getchild(int node) | 27 | inline int prom_getchild(int node) |
29 | { | 28 | { |
@@ -53,7 +52,6 @@ inline int __prom_getsibling(int node) | |||
53 | { | 52 | { |
54 | return p1275_cmd(prom_peer_name, P1275_INOUT(1, 1), node); | 53 | return p1275_cmd(prom_peer_name, P1275_INOUT(1, 1), node); |
55 | } | 54 | } |
56 | EXPORT_SYMBOL(__prom_getsibling); | ||
57 | 55 | ||
58 | inline int prom_getsibling(int node) | 56 | inline int prom_getsibling(int node) |
59 | { | 57 | { |