<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/27005">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">soc/intel/fsp_baytrail: Get rid of device_t<br><br>Change-Id: Ie7398b5054a234f76a3b52ec133ad898059efdf5<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/soc/intel/fsp_baytrail/pmutil.c<br>M src/soc/intel/fsp_baytrail/spi.c<br>2 files 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/05/27005/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/soc/intel/fsp_baytrail/pmutil.c b/src/soc/intel/fsp_baytrail/pmutil.c</span><br><span>index a588412..33ecc09 100644</span><br><span>--- a/src/soc/intel/fsp_baytrail/pmutil.c</span><br><span>+++ b/src/soc/intel/fsp_baytrail/pmutil.c</span><br><span>@@ -35,8 +35,8 @@</span><br><span> #include <device/device.h></span><br><span> #include <device/pci.h></span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static device_t pcu_dev;</span><br><span style="color: hsl(0, 100%, 40%);">-static device_t get_pcu_dev(void)</span><br><span style="color: hsl(120, 100%, 40%);">+static struct device *pcu_dev;</span><br><span style="color: hsl(120, 100%, 40%);">+static struct device *get_pcu_dev(void)</span><br><span> {</span><br><span>         if (pcu_dev == NULL)</span><br><span>                 pcu_dev = dev_find_slot(0, PCI_DEVFN(PCU_DEV, 0));</span><br><span>diff --git a/src/soc/intel/fsp_baytrail/spi.c b/src/soc/intel/fsp_baytrail/spi.c</span><br><span>index 6787dcb..d8b1d55 100644</span><br><span>--- a/src/soc/intel/fsp_baytrail/spi.c</span><br><span>+++ b/src/soc/intel/fsp_baytrail/spi.c</span><br><span>@@ -259,7 +259,7 @@</span><br><span>        pci_devfn_t dev;</span><br><span>     dev = PCI_DEV(0, LPC_DEV, LPC_FUNC);</span><br><span> #else</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>  dev = dev_find_slot(0, PCI_DEVFN(LPC_DEV, LPC_FUNC));</span><br><span> #endif</span><br><span>      pci_read_config_dword(dev, SBASE, &sbase);</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/27005">change 27005</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/27005"/><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: Ie7398b5054a234f76a3b52ec133ad898059efdf5 </div>
<div style="display:none"> Gerrit-Change-Number: 27005 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>