aboutsummaryrefslogtreecommitdiff
path: root/hw/display/ads7846.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/ads7846.c')
-rw-r--r--hw/display/ads7846.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/ads7846.c b/hw/display/ads7846.c
index c12272a..9228b40 100644
--- a/hw/display/ads7846.c
+++ b/hw/display/ads7846.c
@@ -154,7 +154,7 @@ static void ads7846_realize(SSISlave *d, Error **errp)
ads7846_int_update(s);
- vmstate_register(NULL, -1, &vmstate_ads7846, s);
+ vmstate_register(NULL, VMSTATE_INSTANCE_ID_ANY, &vmstate_ads7846, s);
}
static void ads7846_class_init(ObjectClass *klass, void *data)