aboutsummaryrefslogtreecommitdiff
path: root/include/hw/misc/bcm2835_mphi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/misc/bcm2835_mphi.h')
-rw-r--r--include/hw/misc/bcm2835_mphi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/misc/bcm2835_mphi.h b/include/hw/misc/bcm2835_mphi.h
index ce1c273cfb..249511182e 100644
--- a/include/hw/misc/bcm2835_mphi.h
+++ b/include/hw/misc/bcm2835_mphi.h
@@ -39,7 +39,7 @@ struct BCM2835MphiState {
#define TYPE_BCM2835_MPHI "bcm2835-mphi"
-#define BCM2835_MPHI(obj) \
- OBJECT_CHECK(BCM2835MphiState, (obj), TYPE_BCM2835_MPHI)
+DECLARE_INSTANCE_CHECKER(BCM2835MphiState, BCM2835_MPHI,
+ TYPE_BCM2835_MPHI)
#endif