Commit 69de0558 authored by Elyes HAOUAS's avatar Elyes HAOUAS Committed by Patrick Georgi

device/pci_class.c: Get rid of device_t

Use of `device_t` has been abandoned in ramstage.

Change-Id: I839533a33aa54df4efed3f372c6f88e79b0b559b
Signed-off-by: default avatarElyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26007Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarPatrick Georgi <pgeorgi@google.com>
parent b9e82f03
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment