aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc/pnv_xive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/ppc/pnv_xive.h')
-rw-r--r--include/hw/ppc/pnv_xive.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/hw/ppc/pnv_xive.h b/include/hw/ppc/pnv_xive.h
index a014e2a726..29d5debd1c 100644
--- a/include/hw/ppc/pnv_xive.h
+++ b/include/hw/ppc/pnv_xive.h
@@ -16,10 +16,8 @@
struct PnvChip;
#define TYPE_PNV_XIVE "pnv-xive"
-typedef struct PnvXive PnvXive;
-typedef struct PnvXiveClass PnvXiveClass;
-DECLARE_OBJ_CHECKERS(PnvXive, PnvXiveClass,
- PNV_XIVE, TYPE_PNV_XIVE)
+OBJECT_DECLARE_TYPE(PnvXive, PnvXiveClass,
+ pnv_xive, PNV_XIVE)
#define XIVE_BLOCK_MAX 16