aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/puv3_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/puv3_pm.c')
-rw-r--r--hw/misc/puv3_pm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/misc/puv3_pm.c b/hw/misc/puv3_pm.c
index cac8497f81..676c23f7db 100644
--- a/hw/misc/puv3_pm.c
+++ b/hw/misc/puv3_pm.c
@@ -19,9 +19,7 @@
#include "qemu/log.h"
#define TYPE_PUV3_PM "puv3_pm"
-typedef struct PUV3PMState PUV3PMState;
-DECLARE_INSTANCE_CHECKER(PUV3PMState, PUV3_PM,
- TYPE_PUV3_PM)
+OBJECT_DECLARE_SIMPLE_TYPE(PUV3PMState, PUV3_PM)
struct PUV3PMState {
SysBusDevice parent_obj;