diff options
author | Daniel Kurtz <djkurtz@chromium.org> | 2018-04-17 17:45:01 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-04-26 06:57:58 +0000 |
commit | 963419a312e283c28f8f788303a1ddceb1e20a05 (patch) | |
tree | 2bd4f16332572d6c6c2d365ad1d94102b7feebe7 | |
parent | 2e977807507ee33cf10826d2cd71ffc63f1fddd3 (diff) | |
download | coreboot-963419a312e283c28f8f788303a1ddceb1e20a05.tar.xz |
soc/amd/stoneyridge: Static constify smi_sources
smi_sources is a file local array of constants.
Change-Id: I431f181449a591ccaf8395f01a84c8e006a29b52
Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-on: https://review.coreboot.org/25814
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/soc/amd/stoneyridge/smihandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c index 2830d18905..606378966e 100644 --- a/src/soc/amd/stoneyridge/smihandler.c +++ b/src/soc/amd/stoneyridge/smihandler.c @@ -186,7 +186,7 @@ int southbridge_io_trap_handler(int smif) * Table of functions supported in the SMI handler. Note that SMI source setup * in southbridge.c is unrelated to this list. */ -struct smi_sources_t smi_sources[] = { +static const struct smi_sources_t smi_sources[] = { { .type = SMITYPE_SMI_CMD_PORT, .handler = sb_apmc_smi_handler }, { .type = SMITYPE_SLP_TYP, .handler = sb_slp_typ_handler}, }; |