sb/amd/amd8111: Get rid of device_t
Use of device_t has been abandoned in ramstage. Change-Id: I143617bb1a4ab1812ec50155861ae2f75060851b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26409 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
committed by
Kyösti Mälkki
parent
8aafbd8252
commit
39733a065d
@@ -63,7 +63,8 @@ static void nic_init(struct device *dev)
|
||||
printk(BIOS_DEBUG, "Done\n");
|
||||
}
|
||||
|
||||
static void lpci_set_subsystem(device_t dev, unsigned vendor, unsigned device)
|
||||
static void lpci_set_subsystem(struct device *dev, unsigned vendor,
|
||||
unsigned device)
|
||||
{
|
||||
pci_write_config32(dev, 0xc8,
|
||||
((device & 0xffff) << 16) | (vendor & 0xffff));
|
||||
|
Reference in New Issue
Block a user