aboutsummaryrefslogtreecommitdiff
path: root/hw/ads7846.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ads7846.c')
-rw-r--r--hw/ads7846.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ads7846.c b/hw/ads7846.c
index 3cfdecb..41c7f10 100644
--- a/hw/ads7846.c
+++ b/hw/ads7846.c
@@ -168,9 +168,9 @@ static TypeInfo ads7846_info = {
.class_init = ads7846_class_init,
};
-static void ads7846_register_devices(void)
+static void ads7846_register_types(void)
{
type_register_static(&ads7846_info);
}
-device_init(ads7846_register_devices)
+type_init(ads7846_register_types)