summaryrefslogtreecommitdiffstats
path: root/include/hw/acpi
diff options
context:
space:
mode:
authorMarc-André Lureau2018-12-04 15:20:06 +0100
committerEduardo Habkost2018-12-11 18:45:22 +0100
commitaa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2 (patch)
treef9c797fb1b6eaa12c268d32f83ba484df9b5c4a3 /include/hw/acpi
parenttests: qdev_prop_check_globals() doesn't return "all_used" (diff)
downloadqemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.tar.gz
qemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.tar.xz
qemu-aa1b35b975d83a1ee3b5d1a1ae200a59ca44f8d2.zip
qom: make interface types abstract
Interfaces don't have instance, let's make the interface type really abstract to avoid confusion. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20181204142023.15982-3-marcandre.lureau@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r--include/hw/acpi/acpi_dev_interface.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/hw/acpi/acpi_dev_interface.h b/include/hw/acpi/acpi_dev_interface.h
index dabf4c4fc9..43ff119179 100644
--- a/include/hw/acpi/acpi_dev_interface.h
+++ b/include/hw/acpi/acpi_dev_interface.h
@@ -25,11 +25,7 @@ typedef enum {
INTERFACE_CHECK(AcpiDeviceIf, (obj), \
TYPE_ACPI_DEVICE_IF)
-
-typedef struct AcpiDeviceIf {
- /* <private> */
- Object Parent;
-} AcpiDeviceIf;
+typedef struct AcpiDeviceIf AcpiDeviceIf;
void acpi_send_event(DeviceState *dev, AcpiEventStatusBits event);