diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2018-09-16 16:57:23 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-09-18 10:36:48 +0000 |
commit | 8ce59d522b939190cafdb18383375989837b6961 (patch) | |
tree | 6459ba872804a1546d0720ff2acff6326a1dfaaa /src/northbridge/amd/pi/00730F01 | |
parent | de028789fda806b358538613d33a9a0a020d3d8c (diff) |
nb/amd/pi/00730F01: Don't use device_t in ramstage
Use of device_t has been abandoned in ramstage
Change-Id: Ifc32b0f6964a8c3e3a100c787ac2a889b39322a6
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/28629
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/northbridge/amd/pi/00730F01')
-rw-r--r-- | src/northbridge/amd/pi/00730F01/northbridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/pi/00730F01/northbridge.c b/src/northbridge/amd/pi/00730F01/northbridge.c index 2b81998445..ab67b43e81 100644 --- a/src/northbridge/amd/pi/00730F01/northbridge.c +++ b/src/northbridge/amd/pi/00730F01/northbridge.c @@ -583,7 +583,7 @@ static unsigned long acpi_fill_ivrs(acpi_ivrs_t *ivrs, unsigned long current) { uint8_t *p; - device_t nb_dev = dev_find_slot(0, PCI_DEVFN(0, 0)); + struct device *nb_dev = dev_find_slot(0, PCI_DEVFN(0, 0)); if (!nb_dev) { printk(BIOS_WARNING, "%s: G-series northbridge device not present!\n", __func__); |