mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43: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
|
@ -309,7 +309,7 @@ static void mips_jazz_init(MachineState *machine,
|
|||
|
||||
/* SCSI adapter */
|
||||
dev = qdev_new(TYPE_ESP);
|
||||
sysbus_esp = ESP_STATE(dev);
|
||||
sysbus_esp = ESP(dev);
|
||||
esp = &sysbus_esp->esp;
|
||||
esp->dma_memory_read = rc4030_dma_read;
|
||||
esp->dma_memory_write = rc4030_dma_write;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue