diff --git a/hw/char/cadence_uart.c b/hw/char/cadence_uart.c index f18db53bca11250e8839319371fdd1d39443a504..a7b2f2148cf700367fcbac9b1c70999fc82204d8 100644 --- a/hw/char/cadence_uart.c +++ b/hw/char/cadence_uart.c @@ -110,7 +110,9 @@ #define CADENCE_UART(obj) OBJECT_CHECK(UartState, (obj), TYPE_CADENCE_UART) typedef struct { + /*< private >*/ SysBusDevice parent_obj; + /*< public >*/ MemoryRegion iomem; uint32_t r[R_MAX];