aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/applesmc.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-02-08 11:01:53 +0100
committerAndreas Färber <afaerber@suse.de>2014-02-14 21:12:04 +0100
commitc7bcc85d664b26b8b1e46416c7a730104b602e34 (patch)
tree1b1fbe318bdebd1a960b2cb26d67d44d260b3c13 /hw/misc/applesmc.c
parent515f23462b10174c953fd161a37e9093b2427cff (diff)
downloadqemu-c7bcc85d664b26b8b1e46416c7a730104b602e34.zip
qemu-c7bcc85d664b26b8b1e46416c7a730104b602e34.tar.gz
qemu-c7bcc85d664b26b8b1e46416c7a730104b602e34.tar.bz2
qdev: Remove hex8/32/64 property types
Replace them with uint8/32/64. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/misc/applesmc.c')
-rw-r--r--hw/misc/applesmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c
index 627adb9..6a56b07 100644
--- a/hw/misc/applesmc.c
+++ b/hw/misc/applesmc.c
@@ -249,7 +249,7 @@ static void applesmc_isa_realize(DeviceState *dev, Error **errp)
}
static Property applesmc_isa_properties[] = {
- DEFINE_PROP_HEX32("iobase", AppleSMCState, iobase,
+ DEFINE_PROP_UINT32("iobase", AppleSMCState, iobase,
APPLESMC_DEFAULT_IOBASE),
DEFINE_PROP_STRING("osk", AppleSMCState, osk),
DEFINE_PROP_END_OF_LIST(),