aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/spapr_rng.c')
-rw-r--r--hw/ppc/spapr_rng.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/ppc/spapr_rng.c b/hw/ppc/spapr_rng.c
index 6c99633faa..d14800e9de 100644
--- a/hw/ppc/spapr_rng.c
+++ b/hw/ppc/spapr_rng.c
@@ -30,9 +30,7 @@
#include "kvm_ppc.h"
#include "qom/object.h"
-typedef struct SpaprRngState SpaprRngState;
-DECLARE_INSTANCE_CHECKER(SpaprRngState, SPAPR_RNG,
- TYPE_SPAPR_RNG)
+OBJECT_DECLARE_SIMPLE_TYPE(SpaprRngState, SPAPR_RNG)
struct SpaprRngState {
/*< private >*/