aboutsummaryrefslogtreecommitdiff
path: root/include/hw/rtc/allwinner-rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/rtc/allwinner-rtc.h')
-rw-r--r--include/hw/rtc/allwinner-rtc.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/hw/rtc/allwinner-rtc.h b/include/hw/rtc/allwinner-rtc.h
index 5a6e9fff32..bf415431cd 100644
--- a/include/hw/rtc/allwinner-rtc.h
+++ b/include/hw/rtc/allwinner-rtc.h
@@ -60,10 +60,7 @@
* @{
*/
-typedef struct AwRtcClass AwRtcClass;
-typedef struct AwRtcState AwRtcState;
-DECLARE_OBJ_CHECKERS(AwRtcState, AwRtcClass,
- AW_RTC, TYPE_AW_RTC)
+OBJECT_DECLARE_TYPE(AwRtcState, AwRtcClass, AW_RTC)
/** @} */