diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-05-02 21:32:54 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-05-04 10:17:28 +0000 |
commit | 69de0558655b7497985265eede8ee8fab87d838c (patch) | |
tree | c264e7693847aa67d5ac54c53b8e016c4d67dea5 | |
parent | b9e82f03b16dc07357dcfe0e89df66ab96467b45 (diff) | |
download | coreboot-69de0558655b7497985265eede8ee8fab87d838c.tar.xz |
device/pci_class.c: Get rid of device_t
Use of `device_t` has been abandoned in ramstage.
Change-Id: I839533a33aa54df4efed3f372c6f88e79b0b559b
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26007
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | src/device/pci_class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device/pci_class.c b/src/device/pci_class.c index 6dbe23e282..b2f5ff765c 100644 --- a/src/device/pci_class.c +++ b/src/device/pci_class.c @@ -220,7 +220,7 @@ static const PCI_CLASS class_list[] = { }; static const unsigned int class_entries = ARRAY_SIZE(class_list); -static const PCI_CLASS *get_pci_class_entry(device_t dev) +static const PCI_CLASS *get_pci_class_entry(struct device *dev) { unsigned char class; const PCI_CLASS *class_entry; @@ -240,7 +240,7 @@ static const PCI_CLASS *get_pci_class_entry(device_t dev) return NULL; } -const char *get_pci_class_name(device_t dev) +const char *get_pci_class_name(struct device *dev) { const PCI_CLASS *class_entry; @@ -248,7 +248,7 @@ const char *get_pci_class_name(device_t dev) return class_entry ? class_entry->class_name : "???"; } -const char *get_pci_subclass_name(device_t dev) +const char *get_pci_subclass_name(struct device *dev) { const PCI_CLASS *class_entry; unsigned char subclass; |