]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/char/pl011.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / char / pl011.h
index 80de4ecde6436f39950083e5dcc307ce41ecf639..a91ea50e11bbb398a785b0c65abe982866f52884 100644 (file)
@@ -22,9 +22,7 @@
 #include "qom/object.h"
 
 #define TYPE_PL011 "pl011"
-typedef struct PL011State PL011State;
-DECLARE_INSTANCE_CHECKER(PL011State, PL011,
-                         TYPE_PL011)
+OBJECT_DECLARE_SIMPLE_TYPE(PL011State, PL011)
 
 /* This shares the same struct (and cast macro) as the base pl011 device */
 #define TYPE_PL011_LUMINARY "pl011_luminary"