diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-16 12:24:16 -0800 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-02-06 11:03:32 -0800 |
commit | 4d05954829617507c44318015dc005b665ab564b (patch) | |
tree | 624accf49ca2530e4a05857cc59e743d07919107 /arch | |
parent | 785bdcaa9babda16ce7c081966dd3d316a253b0b (diff) |
sparc64: Unexport prom_service_exists().
[ Upstream commit f7b5f55ac1623dfde24ef5319ad77c1746645f3f ]
Only used by functions in misc_64.c so make it private
to that file.
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
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 e7a53a3cfd6..1c81a27fe0d 100644 --- a/arch/sparc/include/asm/oplib_64.h +++ b/arch/sparc/include/asm/oplib_64.h @@ -258,7 +258,6 @@ extern int prom_setprop(int node, const char *prop_name, char *prop_value, int value_size); extern int prom_inst2pkg(int); -extern int prom_service_exists(const char *service_name); extern void prom_sun4v_guest_soft_state(void); 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 6cb1581d6ae..4a898935acb 100644 --- a/arch/sparc/prom/misc_64.c +++ b/arch/sparc/prom/misc_64.c @@ -18,7 +18,7 @@ #include <asm/system.h> #include <asm/ldc.h> -int prom_service_exists(const char *service_name) +static int prom_service_exists(const char *service_name) { unsigned long args[5]; |