summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-23 14:19:49 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-24 13:18:07 +0000
commitb130a7825721907baab36bf31583f9345cbfa1e6 (patch)
treef9883a1f72b863f60203b3601d6b295d1007a47c /src/mainboard
parent0d284959dcaf16416ce27b480339144fd6068bfe (diff)
downloadcoreboot-b130a7825721907baab36bf31583f9345cbfa1e6.tar.xz
mb/emulation/qemu-q35: Get rid of device_t
Change-Id: I74461e75abce6cdd0c7a16b3a6589de3486a1a3f Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26492 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/emulation/qemu-q35/acpi_tables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c
index 209ee020db..995fa69056 100644
--- a/src/mainboard/emulation/qemu-q35/acpi_tables.c
+++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c
@@ -195,7 +195,7 @@ unsigned long acpi_fill_madt(unsigned long current)
unsigned long acpi_fill_mcfg(unsigned long current)
{
- device_t dev;
+ struct device *dev;
u32 reg;
dev = dev_find_device(0x8086, 0x29c0, 0);