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:
parent
e325775b35
commit
1832efa29d
@ -242,12 +242,8 @@ static SysBusDeviceInfo bitband_info = {
|
||||
.qdev.name = "ARM,bitband-memory",
|
||||
.qdev.size = sizeof(BitBandState),
|
||||
.qdev.props = (Property[]) {
|
||||
{
|
||||
.name = "base",
|
||||
.info = &qdev_prop_hex32,
|
||||
.offset = offsetof(BitBandState, base),
|
||||
},
|
||||
{/* end of list */}
|
||||
DEFINE_PROP_UINT32("base", BitBandState, base, 0),
|
||||
DEFINE_PROP_END_OF_LIST(),
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user