qdev/prop: convert xilinx_intc.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
05f0257906
commit
8017dc2688
@ -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(),
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user