<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26071">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/a785e-i: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: I15f160c1e30496461f7100e3bd3a2e2467c64c4a<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/mainboard/advansus/a785e-i/get_bus_conf.c<br>M src/mainboard/advansus/a785e-i/mainboard.c<br>2 files 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/71/26071/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/advansus/a785e-i/get_bus_conf.c b/src/mainboard/advansus/a785e-i/get_bus_conf.c</span><br><span>index ed46359..74979cb 100644</span><br><span>--- a/src/mainboard/advansus/a785e-i/get_bus_conf.c</span><br><span>+++ b/src/mainboard/advansus/a785e-i/get_bus_conf.c</span><br><span>@@ -61,7 +61,7 @@</span><br><span> void get_bus_conf(void)</span><br><span> {</span><br><span>      u32 apicid_base;</span><br><span style="color: hsl(0, 100%, 40%);">-        device_t dev;</span><br><span style="color: hsl(120, 100%, 40%);">+ struct device *dev;</span><br><span>  int i;</span><br><span> </span><br><span>   if (get_bus_conf_done == 1)</span><br><span>diff --git a/src/mainboard/advansus/a785e-i/mainboard.c b/src/mainboard/advansus/a785e-i/mainboard.c</span><br><span>index a4917e0..94da80f 100644</span><br><span>--- a/src/mainboard/advansus/a785e-i/mainboard.c</span><br><span>+++ b/src/mainboard/advansus/a785e-i/mainboard.c</span><br><span>@@ -64,7 +64,7 @@</span><br><span> * enable the dedicated function in A785E-I board.</span><br><span> * This function called early than rs780_enable.</span><br><span> *************************************************/</span><br><span style="color: hsl(0, 100%, 40%);">-static void mainboard_enable(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void mainboard_enable(struct device *dev)</span><br><span> {</span><br><span>  printk(BIOS_INFO, "Mainboard A785E-I Enable. dev=0x%p\n", dev);</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26071">change 26071</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/26071"/><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: I15f160c1e30496461f7100e3bd3a2e2467c64c4a </div>
<div style="display:none"> Gerrit-Change-Number: 26071 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>