[Skiboot] [PATCH 08/25] sparse: declare opal_err_info as static
Cédric Le Goater
clg at fr.ibm.com
Tue Feb 24 22:14:22 AEDT 2015
Signed-off-by: Cédric Le Goater <clg at fr.ibm.com>
---
include/errorlog.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/errorlog.h b/include/errorlog.h
index 49c60cfb05fb..51af88c423f1 100644
--- a/include/errorlog.h
+++ b/include/errorlog.h
@@ -320,7 +320,7 @@ enum opal_reasoncode {
};
#define DEFINE_LOG_ENTRY(reason, type, id, subsys, \
-severity, subtype, callout_func) struct opal_err_info err_##reason = \
+severity, subtype, callout_func) static struct opal_err_info err_##reason = \
{ .reason_code = reason, .err_type = type, .cmp_id = id, \
.subsystem = subsys, .sev = severity, .event_subtype = subtype, \
.call_out = callout_func }
--
1.7.10.4
More information about the Skiboot
mailing list