summaryrefslogtreecommitdiffstats
path: root/arch/sparc/prom
diff options
context:
space:
mode:
authorJulian Calaby <julian.calaby@gmail.com>2009-01-09 01:58:42 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-09 01:58:42 +0100
commitbc835978cfb5dbb904a9d2e13804b6c343743530 (patch)
tree5d03f051d171bc90875e52fa558bb4aae439f903 /arch/sparc/prom
parentsparc64: move EXPORT_SYMBOL to the symbols definition (diff)
downloadlinux-bc835978cfb5dbb904a9d2e13804b6c343743530.tar.xz
linux-bc835978cfb5dbb904a9d2e13804b6c343743530.zip
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/prom')
-rw-r--r--arch/sparc/prom/tree_32.c2
-rw-r--r--arch/sparc/prom/tree_64.c2
2 files changed, 0 insertions, 4 deletions
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)
return cnode;
}
-EXPORT_SYMBOL(__prom_getchild);
/* Return the child of node 'node' or zero if no this node has no
* direct descendent.
@@ -67,7 +66,6 @@ int __prom_getsibling(int node)
return cnode;
}
-EXPORT_SYMBOL(__prom_getsibling);
/* Return the next sibling of node 'node' or zero if no more siblings
* 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)
{
return p1275_cmd ("child", P1275_INOUT(1, 1), node);
}
-EXPORT_SYMBOL(__prom_getchild);
inline int prom_getchild(int node)
{
@@ -53,7 +52,6 @@ inline int __prom_getsibling(int node)
{
return p1275_cmd(prom_peer_name, P1275_INOUT(1, 1), node);
}
-EXPORT_SYMBOL(__prom_getsibling);
inline int prom_getsibling(int node)
{