<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26999">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/hp/dl165_g6_fam10: Get rid of device_t<br><br>Use pnp_devfn_t instead of device_t<br><br>Change-Id: I6069f3dac7234459e810c0c8ad2efe2e57d665f9<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/mainboard/hp/dl165_g6_fam10/bootblock.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/99/26999/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/mainboard/hp/dl165_g6_fam10/bootblock.c b/src/mainboard/hp/dl165_g6_fam10/bootblock.c</span><br><span>index 80c926b..e1e1a42 100644</span><br><span>--- a/src/mainboard/hp/dl165_g6_fam10/bootblock.c</span><br><span>+++ b/src/mainboard/hp/dl165_g6_fam10/bootblock.c</span><br><span>@@ -14,13 +14,13 @@</span><br><span> #include <device/pnp_def.h></span><br><span> </span><br><span> #define SCH4307_CONFIG_PORT     0x162e</span><br><span style="color: hsl(0, 100%, 40%);">-static inline void shc4307_enter_ext_func_mode(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static inline void shc4307_enter_ext_func_mode(pnp_devfn_t dev)</span><br><span> {</span><br><span>  unsigned port = dev >> 8;</span><br><span>      outb(0x55, port);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static inline void shc4307_exit_ext_func_mode(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static inline void shc4307_exit_ext_func_mode(pnp_devfn_t dev)</span><br><span> {</span><br><span>   unsigned port = dev >> 8;</span><br><span>      outb(0xaa, port);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26999">change 26999</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/26999"/><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: I6069f3dac7234459e810c0c8ad2efe2e57d665f9 </div>
<div style="display:none"> Gerrit-Change-Number: 26999 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>