diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-02 21:29:55 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-04 10:17:17 +0000 |
commit | b9e82f03b16dc07357dcfe0e89df66ab96467b45 (patch) | |
tree | b0ad0d08d946291df933299b4434386975f6d669 | |
parent | 2f119a31f7405495d8528075b5274c37be2da0a7 (diff) | |
download | coreboot-b9e82f03b16dc07357dcfe0e89df66ab96467b45.tar.xz |
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@noos.fr>
Reviewed-on: https://review.coreboot.org/26006
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/device/pcix_device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device/pcix_device.c b/src/device/pcix_device.c index 214e1f8051..31b74e5b35 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_dev(device_t dev) 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 @@ const char *pcix_speed(u16 sstatus) return result; } -void pcix_scan_bridge(device_t dev) +void pcix_scan_bridge(struct device *dev) { unsigned int pos; u16 sstatus; |