<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26399">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sb/ricoh/rl5c476: Get rid of device_t<br><br>Use of device_t has been abandoned in ramstage.<br><br>Change-Id: I04a1fc27f67555132667e42f14fd0263a18b56c6<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/southbridge/ricoh/rl5c476/rl5c476.c<br>1 file changed, 5 insertions(+), 5 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/26399/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/southbridge/ricoh/rl5c476/rl5c476.c b/src/southbridge/ricoh/rl5c476/rl5c476.c</span><br><span>index 2a73ab1..ff634bd 100644</span><br><span>--- a/src/southbridge/ricoh/rl5c476/rl5c476.c</span><br><span>+++ b/src/southbridge/ricoh/rl5c476/rl5c476.c</span><br><span>@@ -28,7 +28,7 @@</span><br><span> static int enable_cf_boot = 0;</span><br><span> static unsigned int cf_base;</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void rl5c476_init(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void rl5c476_init(struct device *dev)</span><br><span> {</span><br><span>      pc16reg_t *pc16;</span><br><span>     unsigned char *base;</span><br><span>@@ -158,7 +158,7 @@</span><br><span>   *cptr = 0x41;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void rl5c476_read_resources(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void rl5c476_read_resources(struct device *dev)</span><br><span> {</span><br><span> </span><br><span>      struct resource *resource;</span><br><span>@@ -177,7 +177,7 @@</span><br><span>     cardbus_read_resources(dev);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void rl5c476_set_resources(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void rl5c476_set_resources(struct device *dev)</span><br><span> {</span><br><span>     struct resource *resource;</span><br><span>   printk(BIOS_DEBUG, "%s In set resources\n",dev_path(dev));</span><br><span>@@ -194,7 +194,7 @@</span><br><span> </span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void rl5c476_set_subsystem(device_t dev, unsigned vendor, unsigned device)</span><br><span style="color: hsl(120, 100%, 40%);">+static void rl5c476_set_subsystem(struct device *dev, unsigned vendor, unsigned device)</span><br><span> {</span><br><span>       u16 miscreg = pci_read_config16(dev, 0x82);</span><br><span>  /* Enable subsystem id register writes */</span><br><span>@@ -225,7 +225,7 @@</span><br><span>      .device = PCI_DEVICE_ID_RICOH_RL5C476,</span><br><span> };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void southbridge_init(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+static void southbridge_init(struct device *dev)</span><br><span> {</span><br><span>    struct southbridge_ricoh_rl5c476_config *conf = dev->chip_info;</span><br><span>   enable_cf_boot = conf->enable_cf;</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26399">change 26399</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/26399"/><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: I04a1fc27f67555132667e42f14fd0263a18b56c6 </div>
<div style="display:none"> Gerrit-Change-Number: 26399 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>