summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2021-02-25 19:20:03 +0100
committerLaurent Vivier2021-03-09 21:53:57 +0100
commitd32335e8ed89851b0359cacc04890d0f8b7683bd (patch)
treee93e058a2b0549136c66f5be5ba6dcb80079cfd0 /include/hw
parentfuzz-test: remove unneccessary debugging flags (diff)
downloadqemu-d32335e8ed89851b0359cacc04890d0f8b7683bd.tar.gz
qemu-d32335e8ed89851b0359cacc04890d0f8b7683bd.tar.xz
qemu-d32335e8ed89851b0359cacc04890d0f8b7683bd.zip
exec/memory: Use struct Object typedef
We forward-declare Object typedef in "qemu/typedefs.h" since commit ca27b5eb7cd ("qom/object: Move Object typedef to 'qemu/typedefs.h'"). Use it everywhere to make the code simpler. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20210225182003.3629342-1-philmd@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/pnv_xscom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/pnv_xscom.h b/include/hw/ppc/pnv_xscom.h
index 8578f5a207..2ff9f7a8d6 100644
--- a/include/hw/ppc/pnv_xscom.h
+++ b/include/hw/ppc/pnv_xscom.h
@@ -139,7 +139,7 @@ int pnv_dt_xscom(PnvChip *chip, void *fdt, int root_offset,
void pnv_xscom_add_subregion(PnvChip *chip, hwaddr offset,
MemoryRegion *mr);
void pnv_xscom_region_init(MemoryRegion *mr,
- struct Object *owner,
+ Object *owner,
const MemoryRegionOps *ops,
void *opaque,
const char *name,