aboutsummaryrefslogtreecommitdiff
path: root/hw/fsp/fsp-elog-write.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@fr.ibm.com>2015-02-24 12:14:30 +0100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-26 18:33:07 +1100
commit3aa9ffb8de2b678952d55b847e7a21f2a0625fbd (patch)
tree0904a6ed7844ccc6f777f6f23429c6edf2565b14 /hw/fsp/fsp-elog-write.c
parenteeae85ee996694ae537185d382bd9ad86ec0e8dd (diff)
downloadskiboot-3aa9ffb8de2b678952d55b847e7a21f2a0625fbd.zip
skiboot-3aa9ffb8de2b678952d55b847e7a21f2a0625fbd.tar.gz
skiboot-3aa9ffb8de2b678952d55b847e7a21f2a0625fbd.tar.bz2
sparse: elog_write_to_host_head_state can be static
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com> Acked-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp/fsp-elog-write.c')
-rw-r--r--hw/fsp/fsp-elog-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fsp/fsp-elog-write.c b/hw/fsp/fsp-elog-write.c
index eaf3225..7496b17 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);