<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26007">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">device/pci_class.c: Get rid of device_t<br><br>Use of `device_t` has been abandoned in ramstage.<br><br>Change-Id: I839533a33aa54df4efed3f372c6f88e79b0b559b<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/device/pci_class.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/07/26007/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/device/pci_class.c b/src/device/pci_class.c</span><br><span>index 6dbe23e..b2f5ff7 100644</span><br><span>--- a/src/device/pci_class.c</span><br><span>+++ b/src/device/pci_class.c</span><br><span>@@ -220,7 +220,7 @@</span><br><span> };</span><br><span> static const unsigned int class_entries = ARRAY_SIZE(class_list);</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static const PCI_CLASS *get_pci_class_entry(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static const PCI_CLASS *get_pci_class_entry(struct device *dev)</span><br><span> {</span><br><span>      unsigned char class;</span><br><span>         const PCI_CLASS *class_entry;</span><br><span>@@ -240,7 +240,7 @@</span><br><span>  return NULL;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-const char *get_pci_class_name(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+const char *get_pci_class_name(struct device *dev)</span><br><span> {</span><br><span>   const PCI_CLASS *class_entry;</span><br><span> </span><br><span>@@ -248,7 +248,7 @@</span><br><span>      return class_entry ? class_entry->class_name : "???";</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-const char *get_pci_subclass_name(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+const char *get_pci_subclass_name(struct device *dev)</span><br><span> {</span><br><span>       const PCI_CLASS *class_entry;</span><br><span>        unsigned char subclass;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26007">change 26007</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/26007"/><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: I839533a33aa54df4efed3f372c6f88e79b0b559b </div>
<div style="display:none"> Gerrit-Change-Number: 26007 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>