qdev: Rename qdev_prop_check_global() to qdev_prop_check_globals() Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
diff --git a/hw/core/qdev-properties.c b/hw/core/qdev-properties.c index 3d12560..9075453 100644 --- a/hw/core/qdev-properties.c +++ b/hw/core/qdev-properties.c
@@ -955,7 +955,7 @@ } } -int qdev_prop_check_global(void) +int qdev_prop_check_globals(void) { GlobalProperty *prop; int ret = 0;
diff --git a/include/hw/qdev-properties.h b/include/hw/qdev-properties.h index 77fe3a1..ae56ee5 100644 --- a/include/hw/qdev-properties.h +++ b/include/hw/qdev-properties.h
@@ -177,7 +177,7 @@ void qdev_prop_register_global(GlobalProperty *prop); void qdev_prop_register_global_list(GlobalProperty *props); -int qdev_prop_check_global(void); +int qdev_prop_check_globals(void); void qdev_prop_set_globals(DeviceState *dev, Error **errp); void qdev_prop_set_globals_for_type(DeviceState *dev, const char *typename, Error **errp);
diff --git a/tests/test-qdev-global-props.c b/tests/test-qdev-global-props.c index 26d8cb2..e1b008a 100644 --- a/tests/test-qdev-global-props.c +++ b/tests/test-qdev-global-props.c
@@ -224,7 +224,7 @@ g_assert_cmpuint(mt->prop1, ==, 101); g_assert_cmpuint(mt->prop2, ==, 102); - all_used = qdev_prop_check_global(); + all_used = qdev_prop_check_globals(); g_assert_cmpuint(all_used, ==, 1); g_assert(!props[0].not_used); g_assert(!props[1].not_used);
diff --git a/vl.c b/vl.c index 9c9acf5..2aaa558 100644 --- a/vl.c +++ b/vl.c
@@ -4541,7 +4541,7 @@ } } - qdev_prop_check_global(); + qdev_prop_check_globals(); if (vmstate_dump_file) { /* dump and exit */ dump_vmstate_json_to_file(vmstate_dump_file);