summary refs log tree commit diff stats
path: root/hw/acpi/erst.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/acpi/erst.c')
-rw-r--r--hw/acpi/erst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/erst.c b/hw/acpi/erst.c
index 2e49b551f2..90148ec9dc 100644
--- a/hw/acpi/erst.c
+++ b/hw/acpi/erst.c
@@ -1018,7 +1018,7 @@ static const Property erst_properties[] = {
                      default_record_size, ERST_RECORD_SIZE),
 };
 
-static void erst_class_init(ObjectClass *klass, void *data)
+static void erst_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);