mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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>
This commit is contained in:
parent
39adb536b3
commit
f5e0a8f42f
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue