<p>Elyes HAOUAS has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/26004">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">src/device/cardbus_device.c: Get rid of device_t<br><br>Use of `device_t` has been abandoned in ramstage.<br><br>Change-Id: I6f3efd8c9be7f9fb83b373fbee311b06cde54181<br>Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr><br>---<br>M src/device/cardbus_device.c<br>1 file changed, 4 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/04/26004/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/device/cardbus_device.c b/src/device/cardbus_device.c</span><br><span>index 19e9900..2924f89 100644</span><br><span>--- a/src/device/cardbus_device.c</span><br><span>+++ b/src/device/cardbus_device.c</span><br><span>@@ -34,7 +34,7 @@</span><br><span> #define CARDBUS_IO_SIZE            4096</span><br><span> #define CARDBUS_MEM_SIZE        (32 * 1024 * 1024)</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void cardbus_record_bridge_resource(device_t dev, resource_t moving,</span><br><span style="color: hsl(120, 100%, 40%);">+static void cardbus_record_bridge_resource(struct device *dev, resource_t moving,</span><br><span>                 resource_t min_size, unsigned int index, unsigned long type)</span><br><span> {</span><br><span>    struct resource *resource;</span><br><span>@@ -66,7 +66,7 @@</span><br><span>       resource->size = min_size;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-static void cardbus_size_bridge_resource(device_t dev, unsigned int index)</span><br><span style="color: hsl(120, 100%, 40%);">+static void cardbus_size_bridge_resource(struct device *dev, unsigned int index)</span><br><span> {</span><br><span>      struct resource *resource;</span><br><span>   resource_t min_size;</span><br><span>@@ -83,7 +83,7 @@</span><br><span>     }</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void cardbus_read_resources(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+void cardbus_read_resources(struct device *dev)</span><br><span> {</span><br><span>    resource_t moving_base, moving_limit, moving;</span><br><span>        unsigned long type;</span><br><span>@@ -149,7 +149,7 @@</span><br><span>    compact_resources(dev);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-void cardbus_enable_resources(device_t dev)</span><br><span style="color: hsl(120, 100%, 40%);">+void cardbus_enable_resources(struct device *dev)</span><br><span> {</span><br><span>  u16 ctrl;</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/26004">change 26004</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/26004"/><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: I6f3efd8c9be7f9fb83b373fbee311b06cde54181 </div>
<div style="display:none"> Gerrit-Change-Number: 26004 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Elyes HAOUAS <ehaouas@noos.fr> </div>