mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
esp: Rename ESP_STATE to ESP
Make the type checking macro name consistent with the TYPE_* constant. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Hervé Poussineau <hpoussin@reactos.org> Message-Id: <20200902224311.1321159-40-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
aa3c41fb00
commit
0056d51bf7
6 changed files with 8 additions and 8 deletions
|
@ -335,7 +335,7 @@ static void *sparc32_dma_init(hwaddr dma_base,
|
|||
OBJECT(dma), "espdma"));
|
||||
sysbus_connect_irq(SYS_BUS_DEVICE(espdma), 0, espdma_irq);
|
||||
|
||||
esp = ESP_STATE(object_resolve_path_component(OBJECT(espdma), "esp"));
|
||||
esp = ESP(object_resolve_path_component(OBJECT(espdma), "esp"));
|
||||
sysbus_mmio_map(SYS_BUS_DEVICE(esp), 0, esp_base);
|
||||
scsi_bus_legacy_handle_cmdline(&esp->esp.bus);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue