summaryrefslogtreecommitdiffstats
path: root/hw/ppc/mpc8544_guts.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc/mpc8544_guts.c')
-rw-r--r--hw/ppc/mpc8544_guts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ppc/mpc8544_guts.c b/hw/ppc/mpc8544_guts.c
index f74bcdca16..b76b5e4701 100644
--- a/hw/ppc/mpc8544_guts.c
+++ b/hw/ppc/mpc8544_guts.c
@@ -56,7 +56,8 @@
#define TYPE_MPC8544_GUTS "mpc8544-guts"
typedef struct GutsState GutsState;
-#define MPC8544_GUTS(obj) OBJECT_CHECK(GutsState, (obj), TYPE_MPC8544_GUTS)
+DECLARE_INSTANCE_CHECKER(GutsState, MPC8544_GUTS,
+ TYPE_MPC8544_GUTS)
struct GutsState {
/*< private >*/