summaryrefslogtreecommitdiffstats
path: root/hw/arm/collie.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/arm/collie.c')
-rw-r--r--hw/arm/collie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/collie.c b/hw/arm/collie.c
index 82ffc82dc7..a49f4a1c7c 100644
--- a/hw/arm/collie.c
+++ b/hw/arm/collie.c
@@ -28,8 +28,8 @@ struct CollieMachineState {
typedef struct CollieMachineState CollieMachineState;
#define TYPE_COLLIE_MACHINE MACHINE_TYPE_NAME("collie")
-#define COLLIE_MACHINE(obj) \
- OBJECT_CHECK(CollieMachineState, obj, TYPE_COLLIE_MACHINE)
+DECLARE_INSTANCE_CHECKER(CollieMachineState, COLLIE_MACHINE,
+ TYPE_COLLIE_MACHINE)
static struct arm_boot_info collie_binfo = {
.loader_start = SA_SDCS0,