diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2012-08-02 10:40:30 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-08-03 10:04:37 +0200 |
commit | 1f07730896f4a38a66bc3a6837704290ff2927f9 (patch) | |
tree | 8ed38e29388c81ab83617d2a132edcf38bdc5a9f /hw | |
parent | e7b2f53bd280fec199693e0dab6fc9748170e16e (diff) | |
download | qemu-1f07730896f4a38a66bc3a6837704290ff2927f9.tar.gz qemu-1f07730896f4a38a66bc3a6837704290ff2927f9.tar.bz2 qemu-1f07730896f4a38a66bc3a6837704290ff2927f9.zip |
esp: add missing const on TypeInfo structures
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/esp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -816,7 +816,7 @@ static void sysbus_esp_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_sysbus_esp_scsi; } -static TypeInfo sysbus_esp_info = { +static const TypeInfo sysbus_esp_info = { .name = "esp", .parent = TYPE_SYS_BUS_DEVICE, .instance_size = sizeof(SysBusESPState), @@ -1176,7 +1176,7 @@ static void esp_pci_class_init(ObjectClass *klass, void *data) dc->vmsd = &vmstate_esp_pci_scsi; } -static TypeInfo esp_pci_info = { +static const TypeInfo esp_pci_info = { .name = "am53c974", .parent = TYPE_PCI_DEVICE, .instance_size = sizeof(PCIESPState), |