diff options
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/input/lasips2.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/hw/input/lasips2.h b/include/hw/input/lasips2.h index a05f26cbd9..426aa1371f 100644 --- a/include/hw/input/lasips2.h +++ b/include/hw/input/lasips2.h @@ -26,7 +26,11 @@ #include "hw/input/ps2.h" #define TYPE_LASIPS2_PORT "lasips2-port" -OBJECT_DECLARE_SIMPLE_TYPE(LASIPS2Port, LASIPS2_PORT) +OBJECT_DECLARE_TYPE(LASIPS2Port, LASIPS2PortDeviceClass, LASIPS2_PORT) + +struct LASIPS2PortDeviceClass { + DeviceClass parent; +}; typedef struct LASIPS2State LASIPS2State; |