src/{sb/intel,mb/google/auron}: Don't use device_t
Use of device_t is deprecated. Change-Id: I564319506870f75eab58cce535d4e3535a64a993 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28642 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
32ca3cd246
commit
38f1d13a75
@@ -237,8 +237,8 @@ static void serialio_init(struct device *dev)
|
||||
}
|
||||
}
|
||||
|
||||
static void serialio_set_subsystem(device_t dev, unsigned vendor,
|
||||
unsigned device)
|
||||
static void serialio_set_subsystem(struct device *dev, unsigned int vendor,
|
||||
unsigned int device)
|
||||
{
|
||||
if (!vendor || !device) {
|
||||
pci_write_config32(dev, PCI_SUBSYSTEM_VENDOR_ID,
|
||||
|
Reference in New Issue
Block a user