<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26540">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/imgtec/pistachio: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: Ia36b4ef7d66c50a044bc51f452ac8b7c7ff14323<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/soc/imgtec/pistachio/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/40/26540/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/imgtec/pistachio/soc.c b/src/soc/imgtec/pistachio/soc.c</span><br><span>index 948a906..156d1de 100644</span><br><span>--- a/src/soc/imgtec/pistachio/soc.c</span><br><span>+++ b/src/soc/imgtec/pistachio/soc.c</span><br><span>@@ -17,13 +17,13 @@</span><br><span> #include <device/device.h></span><br><span> #include <symbols.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,</span><br><span>                      (CONFIG_DRAM_SIZE_MB * MiB) / 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>   printk(BIOS_INFO, "CPU: Imgtec Pistachio\n");</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/26540">change 26540</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/26540"/><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: Ia36b4ef7d66c50a044bc51f452ac8b7c7ff14323 </div>
<div style="display:none"> Gerrit-Change-Number: 26540 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>