[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT e325775] qdev/prop: convert arm_sysctl.c to helpe
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT e325775] qdev/prop: convert arm_sysctl.c to helper macros. |
Date: |
Mon, 10 Aug 2009 21:48:48 -0000 |
From: Gerd Hoffmann <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id:
diff --git a/hw/arm_sysctl.c b/hw/arm_sysctl.c
index bb005c8..11b3787 100644
--- 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(),
}
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT e325775] qdev/prop: convert arm_sysctl.c to helper macros.,
Anthony Liguori <=