Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Julian Calaby and committed by
David S. Miller
bc835978 917c3660

-25
-11
arch/sparc/include/asm/oplib_32.h
··· 177 177 178 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 180 /* Get the child node of the given node, or zero if no child exists. */ 192 181 extern int prom_getchild(int parent_node); 193 182
-10
arch/sparc/include/asm/oplib_64.h
··· 218 218 219 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 221 /* Get the child node of the given node, or zero if no child exists. */ 232 222 extern int prom_getchild(int parent_node); 233 223
-2
arch/sparc/prom/tree_32.c
··· 34 34 35 35 return cnode; 36 36 } 37 - EXPORT_SYMBOL(__prom_getchild); 38 37 39 38 /* Return the child of node 'node' or zero if no this node has no 40 39 * direct descendent. ··· 66 67 67 68 return cnode; 68 69 } 69 - EXPORT_SYMBOL(__prom_getsibling); 70 70 71 71 /* Return the next sibling of node 'node' or zero if no more siblings 72 72 * at this level of depth in the tree.
-2
arch/sparc/prom/tree_64.c
··· 23 23 { 24 24 return p1275_cmd ("child", P1275_INOUT(1, 1), node); 25 25 } 26 - EXPORT_SYMBOL(__prom_getchild); 27 26 28 27 inline int prom_getchild(int node) 29 28 { ··· 52 53 { 53 54 return p1275_cmd(prom_peer_name, P1275_INOUT(1, 1), node); 54 55 } 55 - EXPORT_SYMBOL(__prom_getsibling); 56 56 57 57 inline int prom_getsibling(int node) 58 58 {