diff options
author | Julian Calaby <julian.calaby@gmail.com> | 2009-01-08 19:58:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-08 19:58:42 -0500 |
commit | bc835978cfb5dbb904a9d2e13804b6c343743530 (patch) | |
tree | 5d03f051d171bc90875e52fa558bb4aae439f903 /arch/sparc/include | |
parent | 917c3660d6d9a4b073a3db7c10f6989adae4e191 (diff) |
sparc: Kill exports of prom internal functions
__prom_getchild() and __prom_getsibling() are not used anywhere, so
don't export them.
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r-- | arch/sparc/include/asm/oplib_32.h | 11 | ||||
-rw-r--r-- | arch/sparc/include/asm/oplib_64.h | 10 |
2 files changed, 0 insertions, 21 deletions
diff --git a/arch/sparc/include/asm/oplib_32.h b/arch/sparc/include/asm/oplib_32.h index 73d45521db0..33e31ce6b31 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 6d2c2ca9803..a5db0317b5f 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 | ||