summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Cave-Ayland2020-10-16 20:27:39 +0200
committerMark Cave-Ayland2020-10-18 17:21:42 +0200
commit3e7e134d827790c3714cae1d5b8aff8612000116 (patch)
treec19b067d09aee2f72fea46ae5e7719c301363b56 /include
parentppc405_boards: use qdev properties instead of legacy m48t59_init() function (diff)
downloadqemu-3e7e134d827790c3714cae1d5b8aff8612000116.tar.gz
qemu-3e7e134d827790c3714cae1d5b8aff8612000116.tar.xz
qemu-3e7e134d827790c3714cae1d5b8aff8612000116.zip
m48t59: remove legacy m48t59_init() function
Now that all of the callers of this function have been switched to use qdev properties, this legacy init function can now be removed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-Id: <20201016182739.22875-6-mark.cave-ayland@ilande.co.uk> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/hw/rtc/m48t59.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/rtc/m48t59.h b/include/hw/rtc/m48t59.h
index 9defe578d1..d9b45eb161 100644
--- a/include/hw/rtc/m48t59.h
+++ b/include/hw/rtc/m48t59.h
@@ -47,8 +47,4 @@ struct NvramClass {
void (*toggle_lock)(Nvram *obj, int lock);
};
-Nvram *m48t59_init(qemu_irq IRQ, hwaddr mem_base,
- uint32_t io_base, uint16_t size, int base_year,
- int type);
-
#endif /* HW_M48T59_H */