diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-02 18:42:47 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-09 13:20:22 -0400 |
commit | 0056d51bf7db8bcea10fda599b79c86fb35d59c1 (patch) | |
tree | 0b3fe11cc6259252bd19ac7eb1d3a9df6de602ea /hw/sparc | |
parent | aa3c41fb00fd6dc7cbfb172320edd76f61d14c94 (diff) | |
download | qemu-0056d51bf7db8bcea10fda599b79c86fb35d59c1.zip qemu-0056d51bf7db8bcea10fda599b79c86fb35d59c1.tar.gz qemu-0056d51bf7db8bcea10fda599b79c86fb35d59c1.tar.bz2 |
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>
Diffstat (limited to 'hw/sparc')
-rw-r--r-- | hw/sparc/sun4m.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index 256033b..947b69d 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -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); |