]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/intc/bcm2836_control.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / intc / bcm2836_control.h
index f23292776e9ea71ddd53af5b59cdf6bc710bd991..a410c817e8face3ec748c9fcf146a2cca2cf1512 100644 (file)
@@ -24,9 +24,7 @@
 #define BCM2836_MBPERCORE 4
 
 #define TYPE_BCM2836_CONTROL "bcm2836-control"
-typedef struct BCM2836ControlState BCM2836ControlState;
-DECLARE_INSTANCE_CHECKER(BCM2836ControlState, BCM2836_CONTROL,
-                         TYPE_BCM2836_CONTROL)
+OBJECT_DECLARE_SIMPLE_TYPE(BCM2836ControlState, BCM2836_CONTROL)
 
 struct BCM2836ControlState {
     /*< private >*/