<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26538">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mediatek/mt8173: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: Ifadb894f98ce60cf0778de7fbcec67d125e48fd6<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/soc/mediatek/mt8173/soc.c<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/38/26538/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/mediatek/mt8173/soc.c b/src/soc/mediatek/mt8173/soc.c</span><br><span>index 686f973..c28eb05 100644</span><br><span>--- a/src/soc/mediatek/mt8173/soc.c</span><br><span>+++ b/src/soc/mediatek/mt8173/soc.c</span><br><span>@@ -19,12 +19,12 @@</span><br><span> #include <symbols.h></span><br><span> #include <soc/emi.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void soc_read_resources(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void soc_read_resources(struct device *dev)</span><br><span> {</span><br><span>         ram_resource(dev, 0, (uintptr_t)_dram / KiB, sdram_size() / KiB);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void soc_init(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void soc_init(struct device *dev)</span><br><span> {</span><br><span> }</span><br><span> </span><br><span>@@ -33,7 +33,7 @@</span><br><span>     .init = soc_init,</span><br><span> };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void enable_soc_dev(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void enable_soc_dev(struct device *dev)</span><br><span> {</span><br><span>     dev->ops = &soc_ops;</span><br><span> }</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26538">change 26538</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/26538"/><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: Ifadb894f98ce60cf0778de7fbcec67d125e48fd6 </div>
<div style="display:none"> Gerrit-Change-Number: 26538 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>