projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05f0257
)
qdev/prop: convert xilinx_intc.c to helper macros.
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 3 Aug 2009 15:35:47 +0000
(17:35 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:11:27 +0000
(13:11 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
hw/xilinx_intc.c
patch
|
blob
|
history
diff --git
a/hw/xilinx_intc.c
b/hw/xilinx_intc.c
index 3f08bf81b68c629107dc47dadbe5ceff6ddf1f16..7fadad518c9fe84b0c53d03136299e8b72376da9 100644
(file)
--- a/
hw/xilinx_intc.c
+++ b/
hw/xilinx_intc.c
@@
-162,12
+162,8
@@
static SysBusDeviceInfo xilinx_intc_info = {
.qdev.name = "xilinx,intc",
.qdev.size = sizeof(struct xlx_pic),
.qdev.props = (Property[]) {
- {
- .name = "kind-of-intr",
- .info = &qdev_prop_uint32,
- .offset = offsetof(struct xlx_pic, c_kind_of_intr),
- },
- {/* end of list */}
+ DEFINE_PROP_UINT32("kind-of-intr", struct xlx_pic, c_kind_of_intr, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};