summaryrefslogtreecommitdiffstats
path: root/hw/alpha/dp264.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-03-08 23:39:24 +0100
committerPaolo Bonzini2018-03-12 16:12:48 +0100
commit47973a2dbfad7fd584f37ca57d79097c9f220e93 (patch)
treeb01d9ae50fef98ccb91494ef2d92a88e4933ddd6 /hw/alpha/dp264.c
parenthw/dma/i8257: Rename DMA_init() to i8257_dma_init() (diff)
downloadqemu-47973a2dbfad7fd584f37ca57d79097c9f220e93.tar.gz
qemu-47973a2dbfad7fd584f37ca57d79097c9f220e93.tar.xz
qemu-47973a2dbfad7fd584f37ca57d79097c9f220e93.zip
hw/input/i8042: Extract declarations from i386/pc.h into input/i8042.h
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: David Gibson <david@gibson.dropbear.id.au> (hw/ppc) Message-Id: <20180308223946.26784-4-f4bug@amsat.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/alpha/dp264.c')
-rw-r--r--hw/alpha/dp264.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
index 766373eec7..e13cb576fd 100644
--- a/hw/alpha/dp264.c
+++ b/hw/alpha/dp264.c
@@ -19,6 +19,7 @@
#include "hw/timer/mc146818rtc.h"
#include "hw/ide.h"
#include "hw/timer/i8254.h"
+#include "hw/input/i8042.h"
#include "hw/char/serial.h"
#include "qemu/cutils.h"
@@ -81,7 +82,7 @@ static void clipper_init(MachineState *machine)
mc146818_rtc_init(isa_bus, 1900, rtc_irq);
i8254_pit_init(isa_bus, 0x40, 0, NULL);
- isa_create_simple(isa_bus, "i8042");
+ isa_create_simple(isa_bus, TYPE_I8042);
/* VGA setup. Don't bother loading the bios. */
pci_vga_init(pci_bus);