aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-hpdmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-hpdmc.c')
-rw-r--r--hw/milkymist-hpdmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/milkymist-hpdmc.c b/hw/milkymist-hpdmc.c
index b5122af..2da0293 100644
--- a/hw/milkymist-hpdmc.c
+++ b/hw/milkymist-hpdmc.c
@@ -162,9 +162,9 @@ static TypeInfo milkymist_hpdmc_info = {
.class_init = milkymist_hpdmc_class_init,
};
-static void milkymist_hpdmc_register(void)
+static void milkymist_hpdmc_register_types(void)
{
type_register_static(&milkymist_hpdmc_info);
}
-device_init(milkymist_hpdmc_register)
+type_init(milkymist_hpdmc_register_types)