summaryrefslogtreecommitdiffstats
path: root/hw/misc/exynos4210_clk.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/exynos4210_clk.c')
-rw-r--r--hw/misc/exynos4210_clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/exynos4210_clk.c b/hw/misc/exynos4210_clk.c
index c54f360aa8..4b469f6419 100644
--- a/hw/misc/exynos4210_clk.c
+++ b/hw/misc/exynos4210_clk.c
@@ -26,8 +26,8 @@
#define TYPE_EXYNOS4210_CLK "exynos4210.clk"
typedef struct Exynos4210ClkState Exynos4210ClkState;
-#define EXYNOS4210_CLK(obj) \
- OBJECT_CHECK(Exynos4210ClkState, (obj), TYPE_EXYNOS4210_CLK)
+DECLARE_INSTANCE_CHECKER(Exynos4210ClkState, EXYNOS4210_CLK,
+ TYPE_EXYNOS4210_CLK)
#define CLK_PLL_LOCKED BIT(29)