<p>Daniel Kurtz would like Daniel Kurtz to <strong>review</strong> this change.</p><p><a href="https://review.coreboot.org/25814">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/stoneyridge: Static constify smi_sources<br><br>smi_sources is a file local array of constants.<br><br>Change-Id: I431f181449a591ccaf8395f01a84c8e006a29b52<br>Signed-off-by: Daniel Kurtz <djkurtz@chromium.org><br>---<br>M src/soc/amd/stoneyridge/smihandler.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/25814/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/amd/stoneyridge/smihandler.c b/src/soc/amd/stoneyridge/smihandler.c</span><br><span>index 2830d18..6063789 100644</span><br><span>--- a/src/soc/amd/stoneyridge/smihandler.c</span><br><span>+++ b/src/soc/amd/stoneyridge/smihandler.c</span><br><span>@@ -186,7 +186,7 @@</span><br><span>  * Table of functions supported in the SMI handler.  Note that SMI source setup</span><br><span>  * in southbridge.c is unrelated to this list.</span><br><span>  */</span><br><span style="color: hsl(0, 100%, 40%);">-struct smi_sources_t smi_sources[] = {</span><br><span style="color: hsl(120, 100%, 40%);">+static const struct smi_sources_t smi_sources[] = {</span><br><span>   { .type = SMITYPE_SMI_CMD_PORT, .handler = sb_apmc_smi_handler },</span><br><span>    { .type = SMITYPE_SLP_TYP, .handler = sb_slp_typ_handler},</span><br><span> };</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/25814">change 25814</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/25814"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I431f181449a591ccaf8395f01a84c8e006a29b52 </div>
<div style="display:none"> Gerrit-Change-Number: 25814 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Daniel Kurtz <djkurtz@google.com> </div>
<div style="display:none"> Gerrit-Reviewer: Daniel Kurtz <djkurtz@chromium.org> </div>