Will fold into previous patch on next revision, but made seperate for review of interdiff
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwa...@petalogix.com> --- hw/xilinx_axidma.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c index b82c02e..267b19b 100644 --- a/hw/xilinx_axidma.c +++ b/hw/xilinx_axidma.c @@ -521,9 +521,16 @@ static TypeInfo axidma_info = { } }; +static TypeInfo axidma_peer_info = { + .name = TYPE_XILINX_AXIDMA_PEER, + .parent = TYPE_INTERFACE, + .instance_size = sizeof(struct XilinxAXIDMAPeerIface), +}; + static void xilinx_axidma_register_types(void) { type_register_static(&axidma_info); + type_register_static(&axidma_peer_info); } type_init(xilinx_axidma_register_types) -- 1.7.3.2