mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
hw/core/qdev-properties: Constify Property argument to object_field_prop_ptr
This logically should have accompanied d36f165d95
which
allowed const Property to be registered.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Lei Yang <leiyang@redhat.com>
Link: https://lore.kernel.org/r/20241218134251.4724-23-richard.henderson@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ef1ac71ff0
commit
e9c0346a95
2 changed files with 2 additions and 2 deletions
|
@ -201,7 +201,7 @@ void qdev_prop_set_enum(DeviceState *dev, const char *name, int value);
|
|||
/* Takes ownership of @values */
|
||||
void qdev_prop_set_array(DeviceState *dev, const char *name, QList *values);
|
||||
|
||||
void *object_field_prop_ptr(Object *obj, Property *prop);
|
||||
void *object_field_prop_ptr(Object *obj, const Property *prop);
|
||||
|
||||
void qdev_prop_register_global(GlobalProperty *prop);
|
||||
const GlobalProperty *qdev_find_global_prop(Object *obj,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue