]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/misc/avr_power.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / misc / avr_power.h
index 938ab3e21b5904970300e602f399a44b86947de4..707df030b1875f1fe2a203a72b98efeb6edbb2d3 100644 (file)
@@ -31,9 +31,7 @@
 
 
 #define TYPE_AVR_MASK "avr-power"
-typedef struct AVRMaskState AVRMaskState;
-DECLARE_INSTANCE_CHECKER(AVRMaskState, AVR_MASK,
-                         TYPE_AVR_MASK)
+OBJECT_DECLARE_SIMPLE_TYPE(AVRMaskState, AVR_MASK)
 
 struct AVRMaskState {
     /* <private> */