<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26459">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/amd/common/block/pci: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: I82089475eb43d58303d1091f35aee06f1f04b4a4<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/soc/amd/common/block/pci/amd_pci_util.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/59/26459/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/amd/common/block/pci/amd_pci_util.c b/src/soc/amd/common/block/pci/amd_pci_util.c</span><br><span>index 74bb533..8127601 100644</span><br><span>--- a/src/soc/amd/common/block/pci/amd_pci_util.c</span><br><span>+++ b/src/soc/amd/common/block/pci/amd_pci_util.c</span><br><span>@@ -97,8 +97,8 @@</span><br><span>  */</span><br><span> void write_pci_cfg_irqs(void)</span><br><span> {</span><br><span style="color: hsl(0, 100%, 40%);">-       device_t dev = NULL;  /* Our current device to route IRQs */</span><br><span style="color: hsl(0, 100%, 40%);">-    device_t target_dev = NULL; /* to bridge a device may be connected to */</span><br><span style="color: hsl(120, 100%, 40%);">+      struct device *dev = NULL;  /* Our current device to route IRQs */</span><br><span style="color: hsl(120, 100%, 40%);">+    struct device *target_dev = NULL; /* to bridge a device may be connected to */</span><br><span>       u16 int_pin = 0;      /* Value of the INT_PIN register 0x3D */</span><br><span>       u16 target_pin = 0;   /* Pin we will search our tables for */</span><br><span>        u16 int_line = 0;     /* IRQ # read from PCI_INTR tbl and write to 3C */</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26459">change 26459</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/26459"/><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: I82089475eb43d58303d1091f35aee06f1f04b4a4 </div>
<div style="display:none"> Gerrit-Change-Number: 26459 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>