]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/rtc/aspeed_rtc.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / rtc / aspeed_rtc.h
index d7691ab88f5b2009c0e134d0dc23c6886cd72850..df61e46059ecb7219775e2cdb0405e3b5bc7f071 100644 (file)
@@ -21,10 +21,8 @@ struct AspeedRtcState {
     int offset;
 
 };
-typedef struct AspeedRtcState AspeedRtcState;
 
 #define TYPE_ASPEED_RTC "aspeed.rtc"
-DECLARE_INSTANCE_CHECKER(AspeedRtcState, ASPEED_RTC,
-                         TYPE_ASPEED_RTC)
+OBJECT_DECLARE_SIMPLE_TYPE(AspeedRtcState, ASPEED_RTC)
 
 #endif /* HW_RTC_ASPEED_RTC_H */