aboutsummaryrefslogtreecommitdiff
path: root/include/hw/acpi/vmgenid.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/acpi/vmgenid.h')
-rw-r--r--include/hw/acpi/vmgenid.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/hw/acpi/vmgenid.h b/include/hw/acpi/vmgenid.h
index aff574d..d50fbac 100644
--- a/include/hw/acpi/vmgenid.h
+++ b/include/hw/acpi/vmgenid.h
@@ -16,9 +16,7 @@
* OVMF SDT Header Probe Supressor
*/
-typedef struct VmGenIdState VmGenIdState;
-DECLARE_INSTANCE_CHECKER(VmGenIdState, VMGENID,
- TYPE_VMGENID)
+OBJECT_DECLARE_SIMPLE_TYPE(VmGenIdState, VMGENID)
struct VmGenIdState {
DeviceClass parent_obj;