summaryrefslogtreecommitdiff
path: root/hw/ds1225y.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ds1225y.c')
-rw-r--r--hw/ds1225y.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ds1225y.c b/hw/ds1225y.c
index 539bcebae0..2cd355bd0a 100644
--- a/hw/ds1225y.c
+++ b/hw/ds1225y.c
@@ -157,9 +157,9 @@ static TypeInfo nvram_sysbus_info = {
.class_init = nvram_sysbus_class_init,
};
-static void nvram_register(void)
+static void nvram_register_types(void)
{
type_register_static(&nvram_sysbus_info);
}
-device_init(nvram_register)
+type_init(nvram_register_types)