diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-16 15:24:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 15:24:16 -0500 |
commit | f7b5f55ac1623dfde24ef5319ad77c1746645f3f (patch) | |
tree | a54c0cf868d557dd6e2bdd28c33ed607e60a64ba /arch | |
parent | b148246912bea92bde2a0cba125ca94f1f776b12 (diff) |
sparc64: Unexport prom_service_exists().
Only used by functions in misc_64.c so make it private
to that file.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/include/asm/oplib_64.h | 1 | ||||
-rw-r--r-- | arch/sparc/prom/misc_64.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/include/asm/oplib_64.h b/arch/sparc/include/asm/oplib_64.h index 8441d1aa31c8..daf02d314279 100644 --- a/arch/sparc/include/asm/oplib_64.h +++ b/arch/sparc/include/asm/oplib_64.h | |||
@@ -259,7 +259,6 @@ extern int prom_setprop(phandle node, const char *prop_name, char *prop_value, | |||
259 | int value_size); | 259 | int value_size); |
260 | 260 | ||
261 | extern phandle prom_inst2pkg(int); | 261 | extern phandle prom_inst2pkg(int); |
262 | extern int prom_service_exists(const char *service_name); | ||
263 | extern void prom_sun4v_guest_soft_state(void); | 262 | extern void prom_sun4v_guest_soft_state(void); |
264 | 263 | ||
265 | extern int prom_ihandle2path(int handle, char *buffer, int bufsize); | 264 | extern int prom_ihandle2path(int handle, char *buffer, int bufsize); |
diff --git a/arch/sparc/prom/misc_64.c b/arch/sparc/prom/misc_64.c index d24bc44e361e..b900fdf829a0 100644 --- a/arch/sparc/prom/misc_64.c +++ b/arch/sparc/prom/misc_64.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/system.h> | 18 | #include <asm/system.h> |
19 | #include <asm/ldc.h> | 19 | #include <asm/ldc.h> |
20 | 20 | ||
21 | int prom_service_exists(const char *service_name) | 21 | static int prom_service_exists(const char *service_name) |
22 | { | 22 | { |
23 | unsigned long args[5]; | 23 | unsigned long args[5]; |
24 | 24 | ||