[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 8017dc2] qdev/prop: convert xilinx_intc.c to help
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 8017dc2] qdev/prop: convert xilinx_intc.c to helper macros. |
Date: |
Mon, 10 Aug 2009 21:48:54 -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/xilinx_intc.c b/hw/xilinx_intc.c
index 3f08bf8..7fadad5 100644
--- 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(),
}
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 8017dc2] qdev/prop: convert xilinx_intc.c to helper macros.,
Anthony Liguori <=