projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446de8b
)
isa: use get_uint() for "io-base"
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Wed, 7 Jun 2017 16:36:12 +0000
(20:36 +0400)
committer
Markus Armbruster
<armbru@redhat.com>
Tue, 20 Jun 2017 12:31:32 +0000
(14:31 +0200)
The property is defined with DEFINE_PROP_UINT32().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <
20170607163635
.17635-21-marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/hw/isa/isa.h
patch
|
blob
|
history
diff --git
a/include/hw/isa/isa.h
b/include/hw/isa/isa.h
index c2fdd70cdc1543e4bebe236ee54346e0d8d64f3c..95593408ef818de50d8a44cf8f5df3e633b9620d 100644
(file)
--- a/
include/hw/isa/isa.h
+++ b/
include/hw/isa/isa.h
@@
-29,7
+29,7
@@
static inline uint16_t applesmc_port(void)
Object *obj = object_resolve_path_type("", TYPE_APPLE_SMC, NULL);
if (obj) {
- return object_property_get_int(obj, APPLESMC_PROP_IO_BASE, NULL);
+ return object_property_get_
u
int(obj, APPLESMC_PROP_IO_BASE, NULL);
}
return 0;
}