diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2019-04-27 16:40:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-17 15:19:19 +0200 |
commit | f5e0a8f42fbc5c7c2b8c0720ee657aba6cc122fd (patch) | |
tree | bff566db2b2dae4436703c0555f03f5c13f57fdc /hw | |
parent | 39adb536b3502060206c7515a50fb8faad22f51f (diff) |
hw/acpi/piix4: Move TYPE_PIIX4_PM to a public header
Move the TYPE_PIIX4_PM definition to the corresponding header,
so other files can use it.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190427144025.22880-2-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/acpi/piix4.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/acpi/piix4.c b/hw/acpi/piix4.c index 9c079d6834..160e7308c5 100644 --- a/hw/acpi/piix4.c +++ b/hw/acpi/piix4.c @@ -92,8 +92,6 @@ typedef struct PIIX4PMState { MemHotplugState acpi_memory_hotplug; } PIIX4PMState; -#define TYPE_PIIX4_PM "PIIX4_PM" - #define PIIX4_PM(obj) \ OBJECT_CHECK(PIIX4PMState, (obj), TYPE_PIIX4_PM) |