qdev/prop: convert armv7m.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:
Gerd Hoffmann 2009-08-03 17:35:21 +02:00 committed by Anthony Liguori
parent e325775b35
commit 1832efa29d

View File

@ -242,12 +242,8 @@ static SysBusDeviceInfo bitband_info = {
.qdev.name = "ARM,bitband-memory", .qdev.name = "ARM,bitband-memory",
.qdev.size = sizeof(BitBandState), .qdev.size = sizeof(BitBandState),
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
{ DEFINE_PROP_UINT32("base", BitBandState, base, 0),
.name = "base", DEFINE_PROP_END_OF_LIST(),
.info = &qdev_prop_hex32,
.offset = offsetof(BitBandState, base),
},
{/* end of list */}
} }
}; };