<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26098">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/sapphire: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/mainboard/sapphire/pureplatinumh61/mainboard.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/98/26098/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/sapphire/pureplatinumh61/mainboard.c b/src/mainboard/sapphire/pureplatinumh61/mainboard.c</span><br><span>index 02d2d85..c673294 100644</span><br><span>--- a/src/mainboard/sapphire/pureplatinumh61/mainboard.c</span><br><span>+++ b/src/mainboard/sapphire/pureplatinumh61/mainboard.c</span><br><span>@@ -19,13 +19,13 @@</span><br><span> #include <southbridge/intel/bd82x6x/pch.h></span><br><span> #include <southbridge/intel/common/rcba.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void mainboard_init(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void mainboard_init(struct device *dev)</span><br><span> {</span><br><span>        RCBA32(0x38c8) = 0x00002009;</span><br><span>         RCBA32(0x38c4) = 0x00802009;</span><br><span> }</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>       dev->ops->init = mainboard_init;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26098">change 26098</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/26098"/><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: I93b2ce6a26b3a64bd6f4e4c827e9f551b37c6dd0 </div>
<div style="display:none"> Gerrit-Change-Number: 26098 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>