]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/intc/puv3_intc.c
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / hw / intc / puv3_intc.c
index 8bceede256302cf2556a0c37fd631fb0409b56c7..65226f5e7c495fbca7ca3ee14477a54aa9bb0137 100644 (file)
@@ -20,9 +20,7 @@
 #include "qemu/log.h"
 
 #define TYPE_PUV3_INTC "puv3_intc"
-typedef struct PUV3INTCState PUV3INTCState;
-DECLARE_INSTANCE_CHECKER(PUV3INTCState, PUV3_INTC,
-                         TYPE_PUV3_INTC)
+OBJECT_DECLARE_SIMPLE_TYPE(PUV3INTCState, PUV3_INTC)
 
 struct PUV3INTCState {
     SysBusDevice parent_obj;