diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-17 19:22:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 19:22:56 +0100 |
commit | 91921fef7c658b12de53376b312d071d757f7770 (patch) | |
tree | c899703c680f4502b58cf7059f20396d70a8ca3d /arch/sparc/prom | |
parent | sparc64: Delete prom_setcallback(). (diff) | |
download | linux-91921fef7c658b12de53376b312d071d757f7770.tar.xz linux-91921fef7c658b12de53376b312d071d757f7770.zip |
sparc: Do not export prom_nb{get,put}char().
Never used outside of console_{32,64}.c
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom')
-rw-r--r-- | arch/sparc/prom/console_32.c | 6 | ||||
-rw-r--r-- | arch/sparc/prom/console_64.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/arch/sparc/prom/console_32.c b/arch/sparc/prom/console_32.c index 5340264b78f5..2ce5acb45f2d 100644 --- a/arch/sparc/prom/console_32.c +++ b/arch/sparc/prom/console_32.c @@ -19,8 +19,7 @@ extern void restore_current(void); /* Non blocking get character from console input device, returns -1 * if no input was taken. This can be used for polling. */ -int -prom_nbgetchar(void) +static int prom_nbgetchar(void) { static char inc; int i = -1; @@ -51,8 +50,7 @@ prom_nbgetchar(void) /* Non blocking put character to console device, returns -1 if * unsuccessful. */ -int -prom_nbputchar(char c) +static int prom_nbputchar(char c) { static char outc; unsigned long flags; diff --git a/arch/sparc/prom/console_64.c b/arch/sparc/prom/console_64.c index de67fc73d91e..33a8b275d6af 100644 --- a/arch/sparc/prom/console_64.c +++ b/arch/sparc/prom/console_64.c @@ -18,8 +18,7 @@ extern int prom_stdin, prom_stdout; /* Non blocking get character from console input device, returns -1 * if no input was taken. This can be used for polling. */ -inline int -prom_nbgetchar(void) +static int prom_nbgetchar(void) { unsigned long args[7]; char inc; @@ -42,8 +41,7 @@ prom_nbgetchar(void) /* Non blocking put character to console device, returns -1 if * unsuccessful. */ -inline int -prom_nbputchar(char c) +static int prom_nbputchar(char c) { unsigned long args[7]; char outc; |