aboutsummaryrefslogtreecommitdiff
path: root/hw/milkymist-memcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/milkymist-memcard.c')
-rw-r--r--hw/milkymist-memcard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/milkymist-memcard.c b/hw/milkymist-memcard.c
index 3c1c68a..3515c3c 100644
--- a/hw/milkymist-memcard.c
+++ b/hw/milkymist-memcard.c
@@ -295,9 +295,9 @@ static TypeInfo milkymist_memcard_info = {
.class_init = milkymist_memcard_class_init,
};
-static void milkymist_memcard_register(void)
+static void milkymist_memcard_register_types(void)
{
type_register_static(&milkymist_memcard_info);
}
-device_init(milkymist_memcard_register)
+type_init(milkymist_memcard_register_types)