aboutsummaryrefslogtreecommitdiffstats
path: root/hw/twl92230.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/twl92230.c')
-rw-r--r--hw/twl92230.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/twl92230.c b/hw/twl92230.c
index 03fdccc8c..873dc8f06 100644
--- a/hw/twl92230.c
+++ b/hw/twl92230.c
@@ -876,9 +876,9 @@ static TypeInfo twl92230_info = {
.class_init = twl92230_class_init,
};
-static void twl92230_register_devices(void)
+static void twl92230_register_types(void)
{
type_register_static(&twl92230_info);
}
-device_init(twl92230_register_devices)
+type_init(twl92230_register_types)