<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26539">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/marvell/mvmap2315: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: I6db25850d46ea3a940ea2a6f263303d4b5304cb3<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/soc/marvell/mvmap2315/soc.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/39/26539/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/marvell/mvmap2315/soc.c b/src/soc/marvell/mvmap2315/soc.c</span><br><span>index d05eca6..6904e13 100644</span><br><span>--- a/src/soc/marvell/mvmap2315/soc.c</span><br><span>+++ b/src/soc/marvell/mvmap2315/soc.c</span><br><span>@@ -21,7 +21,7 @@</span><br><span> #include <soc/addressmap.h></span><br><span> #include <symbols.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void soc_enable(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void soc_enable(struct device *dev)</span><br><span> {</span><br><span>    ram_resource(dev, 0, 0x0, MAX_DRAM_ADDRESS / KiB);</span><br><span> }</span><br><span>@@ -30,7 +30,7 @@</span><br><span>  .enable_resources = soc_enable,</span><br><span> };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void enable_mvmap2315_dev(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void enable_mvmap2315_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/26539">change 26539</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/26539"/><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: I6db25850d46ea3a940ea2a6f263303d4b5304cb3 </div>
<div style="display:none"> Gerrit-Change-Number: 26539 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>