summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-i440fx
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-06-08 18:31:43 +0200
committerNico Huber <nico.h@gmx.de>2018-06-09 16:39:35 +0000
commit5cb876cc1fef34e238e37facb36a77dbc45ced9a (patch)
treec16a4900067f028fdc9812e52fa82b02b1aad990 /src/mainboard/emulation/qemu-i440fx
parent7a5f77142f68edd03874015300e471eb80d03c45 (diff)
downloadcoreboot-5cb876cc1fef34e238e37facb36a77dbc45ced9a.tar.xz
mainboard: Get rid of device_t in ramstage
Use of device_t has been abandoned in ramstage. Change-Id: I07e00afbbd2c19cf3ea6e08f228eb39e45f1ad0c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/26983 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/emulation/qemu-i440fx')
-rw-r--r--src/mainboard/emulation/qemu-i440fx/acpi.h3
-rw-r--r--src/mainboard/emulation/qemu-i440fx/mainboard.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mainboard/emulation/qemu-i440fx/acpi.h b/src/mainboard/emulation/qemu-i440fx/acpi.h
index f2ffdeb486..5fc860b743 100644
--- a/src/mainboard/emulation/qemu-i440fx/acpi.h
+++ b/src/mainboard/emulation/qemu-i440fx/acpi.h
@@ -1 +1,2 @@
-unsigned long northbridge_write_acpi_tables(device_t device, unsigned long start);
+unsigned long northbridge_write_acpi_tables(struct device *device,
+ unsigned long start);
diff --git a/src/mainboard/emulation/qemu-i440fx/mainboard.c b/src/mainboard/emulation/qemu-i440fx/mainboard.c
index 63b18331d0..b2439bb1d4 100644
--- a/src/mainboard/emulation/qemu-i440fx/mainboard.c
+++ b/src/mainboard/emulation/qemu-i440fx/mainboard.c
@@ -26,7 +26,7 @@ static const unsigned char qemu_i440fx_irqs[] = {
11, 10, 10, 11,
};
-static void qemu_nb_init(device_t dev)
+static void qemu_nb_init(struct device *dev)
{
/* Map memory at 0xc0000 - 0xfffff */
int i;