mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
qdev: rename DeviceClass.props
Ensure that conflicts in the future will cause a syntax error. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4f67d30b5e
commit
385d8f222a
5 changed files with 13 additions and 8 deletions
|
|
@ -1071,7 +1071,7 @@ static Property *qdev_prop_find(DeviceState *dev, const char *name)
|
|||
/* device properties */
|
||||
class = object_get_class(OBJECT(dev));
|
||||
do {
|
||||
prop = qdev_prop_walk(DEVICE_CLASS(class)->props, name);
|
||||
prop = qdev_prop_walk(DEVICE_CLASS(class)->props_, name);
|
||||
if (prop) {
|
||||
return prop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue