aboutsummaryrefslogtreecommitdiff
path: root/hw/applesmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/applesmc.c')
-rw-r--r--hw/applesmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/applesmc.c b/hw/applesmc.c
index b06487f70d..8bedaad310 100644
--- a/hw/applesmc.c
+++ b/hw/applesmc.c
@@ -243,9 +243,9 @@ static TypeInfo applesmc_isa_info = {
.class_init = qdev_applesmc_class_init,
};
-static void applesmc_register_devices(void)
+static void applesmc_register_types(void)
{
type_register_static(&applesmc_isa_info);
}
-device_init(applesmc_register_devices)
+type_init(applesmc_register_types)