]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/gpio/imx_gpio.h
Use OBJECT_DECLARE_SIMPLE_TYPE when possible
[mirror_qemu.git] / include / hw / gpio / imx_gpio.h
index a72b272ace9e6c53a88f9deef03260f197182ae9..227860b9f0abb6b78916eaee31eb492724b4bc6d 100644 (file)
@@ -24,9 +24,7 @@
 #include "qom/object.h"
 
 #define TYPE_IMX_GPIO "imx.gpio"
-typedef struct IMXGPIOState IMXGPIOState;
-DECLARE_INSTANCE_CHECKER(IMXGPIOState, IMX_GPIO,
-                         TYPE_IMX_GPIO)
+OBJECT_DECLARE_SIMPLE_TYPE(IMXGPIOState, IMX_GPIO)
 
 #define IMX_GPIO_MEM_SIZE 0x20