Patchwork [RFC,7/8] sparc: prom: Make prom_console_write_buf() static

login
register
mail settings
Submitter Julian Calaby
Date Dec. 4, 2010, 3:59 a.m.
Message ID <4CF9BC9E.40409@gmail.com>
Download mbox | patch
Permalink /patch/74240/
State Rejected
Delegated to: David Miller
Headers show

Comments

Julian Calaby - Dec. 4, 2010, 3:59 a.m.
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
---
 arch/sparc/prom/printf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Dec. 12, 2010, 10:47 p.m.
From: Julian Calaby <julian.calaby@gmail.com>
Date: Sat, 04 Dec 2010 14:59:26 +1100

> Signed-off-by: Julian Calaby <julian.calaby@gmail.com>

Same feedback as per patch #6
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/sparc/prom/printf.c b/arch/sparc/prom/printf.c
index 590b985..187e2fa 100644
--- a/arch/sparc/prom/printf.c
+++ b/arch/sparc/prom/printf.c
@@ -82,7 +82,7 @@  static int __prom_console_write_buf(const char *buf, int len)
 
 #endif
 
-void prom_console_write_buf(const char *buf, int len)
+static void prom_console_write_buf(const char *buf, int len)
 {
 	while (len) {
 		int n = __prom_console_write_buf(buf, len);