diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2015-02-24 12:14:22 +0100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-07-06 10:44:45 +1000 |
commit | 8e63fedb0dc9d63631e01d5d5d2a1884cab3c9c9 (patch) | |
tree | 7958daeec8d3c4553639961939883a707f225465 /include | |
parent | 642a2f8a27629ef0782b29d7a719cab0688456f8 (diff) | |
download | skiboot-8e63fedb0dc9d63631e01d5d5d2a1884cab3c9c9.zip skiboot-8e63fedb0dc9d63631e01d5d5d2a1884cab3c9c9.tar.gz skiboot-8e63fedb0dc9d63631e01d5d5d2a1884cab3c9c9.tar.bz2 |
sparse: declare opal_err_info as static
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/errorlog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/errorlog.h b/include/errorlog.h index 49c60cf..51af88c 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 } |