projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54586bd
)
qdev/prop: convert arm_sysctl.c to helper macros.
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 3 Aug 2009 15:35:20 +0000
(17:35 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:50 +0000
(13:05 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
hw/arm_sysctl.c
patch
|
blob
|
history
diff --git
a/hw/arm_sysctl.c
b/hw/arm_sysctl.c
index
bb005c8
..
11b3787
100644
(file)
--- a/
hw/arm_sysctl.c
+++ b/
hw/arm_sysctl.c
@@
-219,12
+219,8
@@
static SysBusDeviceInfo arm_sysctl_info = {
.qdev.name = "realview_sysctl",
.qdev.size = sizeof(arm_sysctl_state),
.qdev.props = (Property[]) {
- {
- .name = "sys_id",
- .info = &qdev_prop_uint32,
- .offset = offsetof(arm_sysctl_state, sys_id),
- },
- {/* end of list */}
+ DEFINE_PROP_UINT32("sys_id", arm_sysctl_state, sys_id, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};