diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 5709a77d4d..f049d0e7f9 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -1661,8 +1661,7 @@ static int __init make_vpl011_uart_node(const struct domain *d, void *fdt) dt_child_set_range(&cells, GUEST_ROOT_ADDRESS_CELLS, GUEST_ROOT_SIZE_CELLS, GUEST_PL011_BASE, GUEST_PL011_SIZE); - if ( res ) - return res; + res = fdt_property(fdt, "reg", reg, sizeof(reg)); if ( res ) return res;