[Skiboot] [PATCH 07/25] sparse: hbrt_memcons can be static

Cédric Le Goater clg at fr.ibm.com
Tue Feb 24 22:14:21 AEDT 2015


Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
 core/hostservices.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/hostservices.c b/core/hostservices.c
index ad19e1522ed2..2de24aa25950 100644
--- a/core/hostservices.c
+++ b/core/hostservices.c
@@ -189,7 +189,7 @@ static bool hbrt_con_wrapped;
 #define HBRT_CON_IN_LEN		0
 #define HBRT_CON_OUT_LEN	(HBRT_CON_LEN - HBRT_CON_IN_LEN)
 
-struct memcons hbrt_memcons __section(".data.memcons") = {
+static struct memcons hbrt_memcons __section(".data.memcons") = {
 	.magic		= MEMCONS_MAGIC,
 	.obuf_phys	= HBRT_CON_START,
 	.ibuf_phys	= HBRT_CON_START + HBRT_CON_OUT_LEN,
-- 
1.7.10.4



More information about the Skiboot mailing list