mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06: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
|
@ -137,7 +137,7 @@ static ObjectPropertyInfo *make_device_property_info(ObjectClass *klass,
|
|||
Property *prop;
|
||||
|
||||
do {
|
||||
for (prop = DEVICE_CLASS(klass)->props; prop && prop->name; prop++) {
|
||||
for (prop = DEVICE_CLASS(klass)->props_; prop && prop->name; prop++) {
|
||||
if (strcmp(name, prop->name) != 0) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue