diff options
author | Philippe Mathieu-Daudé | 2017-10-17 18:44:16 +0200 |
---|---|---|
committer | Michael Tokarev | 2017-12-18 15:07:02 +0100 |
commit | 6c646a11bf5ef87424fa07d3c42d04e709cd7c5e (patch) | |
tree | 91b5f568ab1219515729cadea55dc86cc11c37a4 /hw/isa | |
parent | hw/timer/i8254: rename pit_init() -> i8254_pit_init() (diff) | |
download | qemu-6c646a11bf5ef87424fa07d3c42d04e709cd7c5e.tar.gz qemu-6c646a11bf5ef87424fa07d3c42d04e709cd7c5e.tar.xz qemu-6c646a11bf5ef87424fa07d3c42d04e709cd7c5e.zip |
hw/timer/mc146818: rename rtc_init() -> mc146818_rtc_init()
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/isa')
-rw-r--r-- | hw/isa/i82378.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/isa/i82378.c b/hw/isa/i82378.c index a9c15f858d..a5d67bc6d7 100644 --- a/hw/isa/i82378.c +++ b/hw/isa/i82378.c @@ -21,6 +21,7 @@ #include "hw/pci/pci.h" #include "hw/i386/pc.h" #include "hw/timer/i8254.h" +#include "hw/timer/mc146818rtc.h" #include "hw/audio/pcspk.h" #define TYPE_I82378 "i82378" @@ -106,7 +107,7 @@ static void i82378_realize(PCIDevice *pci, Error **errp) isa = isa_create_simple(isabus, "i82374"); /* timer */ - isa_create_simple(isabus, "mc146818rtc"); + isa_create_simple(isabus, TYPE_MC146818_RTC); } static void i82378_init(Object *obj) |