[coreboot-gerrit] Change in coreboot[master]: device/pcix_device.c: Get rid of device_t
Elyes HAOUAS (Code Review)
gerrit at coreboot.org
Wed May 2 21:31:59 CEST 2018
Elyes HAOUAS has uploaded this change for review. ( https://review.coreboot.org/26006
Change subject: device/pcix_device.c: Get rid of device_t
......................................................................
device/pcix_device.c: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: I14c0db71ffa5faa8321c88c9c75c0c18a70910e8
Signed-off-by: Elyes HAOUAS <ehaouas at noos.fr>
---
M src/device/pcix_device.c
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/26006/1
diff --git a/src/device/pcix_device.c b/src/device/pcix_device.c
index 214e1f8..31b74e5 100644
--- a/src/device/pcix_device.c
+++ b/src/device/pcix_device.c
@@ -20,7 +20,7 @@
#include <device/pci_ids.h>
#include <device/pcix.h>
-static void pcix_tune_dev(device_t dev)
+static void pcix_tune_dev(struct device *dev)
{
u32 status;
u16 orig_cmd, cmd;
@@ -61,7 +61,7 @@
static void pcix_tune_bus(struct bus *bus)
{
- device_t child;
+ struct device *child;
for (child = bus->children; child; child = child->sibling)
pcix_tune_dev(child);
@@ -108,7 +108,7 @@
return result;
}
-void pcix_scan_bridge(device_t dev)
+void pcix_scan_bridge(struct device *dev)
{
unsigned int pos;
u16 sstatus;
--
To view, visit https://review.coreboot.org/26006
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14c0db71ffa5faa8321c88c9c75c0c18a70910e8
Gerrit-Change-Number: 26006
Gerrit-PatchSet: 1
Gerrit-Owner: Elyes HAOUAS <ehaouas at noos.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180502/7db30753/attachment-0001.html>
More information about the coreboot-gerrit
mailing list