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/m68k | |
parent | aa3c41fb00fd6dc7cbfb172320edd76f61d14c94 (diff) |
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/m68k')
-rw-r--r-- | hw/m68k/q800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/q800.c b/hw/m68k/q800.c index 1ca482ad81..ce4b47c3e3 100644 --- a/hw/m68k/q800.c +++ b/hw/m68k/q800.c @@ -290,7 +290,7 @@ static void q800_init(MachineState *machine) /* SCSI */ dev = qdev_new(TYPE_ESP); - sysbus_esp = ESP_STATE(dev); + sysbus_esp = ESP(dev); esp = &sysbus_esp->esp; esp->dma_memory_read = NULL; esp->dma_memory_write = NULL; |