<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26008">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">device/root_device.c: Get rid of device_t<br><br>Use of `device_t` has been abandoned in ramstage.<br><br>Change-Id: Ia25c5097d4cfa979c18a855e656ad794c2f0260c<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/device/root_device.c<br>1 file changed, 7 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/26008/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/device/root_device.c b/src/device/root_device.c</span><br><span>index 8e98593..a19028d 100644</span><br><span>--- a/src/device/root_device.c</span><br><span>+++ b/src/device/root_device.c</span><br><span>@@ -43,9 +43,9 @@</span><br><span>  * @param bus Pointer to the device to which the static buses are attached to.</span><br><span>  */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void scan_static_bus(device_t bus)</span><br><span style="color: hsl(120, 100%, 40%);">+void scan_static_bus(struct device *bus)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-       device_t child;</span><br><span style="color: hsl(120, 100%, 40%);">+       struct device *child;</span><br><span>        struct bus *link;</span><br><span> </span><br><span>        for (link = bus->link_list; link; link = link->next) {</span><br><span>@@ -63,7 +63,7 @@</span><br><span>     }</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void scan_lpc_bus(device_t bus)</span><br><span style="color: hsl(120, 100%, 40%);">+void scan_lpc_bus(struct device *bus)</span><br><span> {</span><br><span>        printk(BIOS_SPEW, "%s for %s\n", __func__, dev_path(bus));</span><br><span> </span><br><span>@@ -72,9 +72,9 @@</span><br><span>         printk(BIOS_SPEW, "%s for %s done\n", __func__, dev_path(bus));</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void scan_generic_bus(device_t bus)</span><br><span style="color: hsl(120, 100%, 40%);">+void scan_generic_bus(struct device *bus)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-   device_t child;</span><br><span style="color: hsl(120, 100%, 40%);">+       struct device *child;</span><br><span>        struct bus *link;</span><br><span>    static int bus_max = 0;</span><br><span> </span><br><span>@@ -103,7 +103,7 @@</span><br><span>    printk(BIOS_SPEW, "%s for %s done\n", __func__, dev_path(bus));</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void scan_smbus(device_t bus)</span><br><span style="color: hsl(120, 100%, 40%);">+void scan_smbus(struct device *bus)</span><br><span> {</span><br><span>    scan_generic_bus(bus);</span><br><span> }</span><br><span>@@ -115,7 +115,7 @@</span><br><span>  *</span><br><span>  * @param root The root device structure.</span><br><span>  */</span><br><span style="color: hsl(0, 100%, 40%);">-static void root_dev_scan_bus(device_t bus)</span><br><span style="color: hsl(120, 100%, 40%);">+static void root_dev_scan_bus(struct device *bus)</span><br><span> {</span><br><span>       struct bus *link;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26008">change 26008</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/26008"/><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: Ia25c5097d4cfa979c18a855e656ad794c2f0260c </div>
<div style="display:none"> Gerrit-Change-Number: 26008 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>