[Skiboot] [PATCH 16/25] sparse: elog_write_to_host_head_state can be static

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


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

diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
index eaf3225a2078..7496b17de017 100644
--- a/hw/fsp/fsp-elog-write.c
+++ b/hw/fsp/fsp-elog-write.c
@@ -57,7 +57,7 @@ static uint32_t elog_write_retries;
 
 /* Manipulate this only with write_lock held */
 static uint32_t elog_plid_fsp_commit = -1;
-enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
+static enum elog_head_state elog_write_to_host_head_state = ELOG_STATE_NONE;
 
 /* Need forward declaration because of Circular dependency */
 static int opal_send_elog_to_fsp(void);
-- 
1.7.10.4



More information about the Skiboot mailing list