aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-26 14:43:34 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-08-27 14:21:48 -0400
commit92951316dc0b66a41b04edb5dcf3f4a7a2470a61 (patch)
tree114fb1cf90b0429566ccdcbdbc0f8236ce85b9eb /hw/scsi
parent8c2eedcea30eb62b655c0ace09b1ccad5b9ea628 (diff)
downloadqemu-92951316dc0b66a41b04edb5dcf3f4a7a2470a61.zip
qemu-92951316dc0b66a41b04edb5dcf3f4a7a2470a61.tar.gz
qemu-92951316dc0b66a41b04edb5dcf3f4a7a2470a61.tar.bz2
dc390: Use TYPE_DC390_DEVICE constant
This will make future conversion to use OBJECT_DECLARE* easier. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> Message-Id: <20200826184334.4120620-9-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r--hw/scsi/esp-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/scsi/esp-pci.c b/hw/scsi/esp-pci.c
index 497a8d5..90432ef 100644
--- a/hw/scsi/esp-pci.c
+++ b/hw/scsi/esp-pci.c
@@ -521,7 +521,7 @@ static void dc390_class_init(ObjectClass *klass, void *data)
}
static const TypeInfo dc390_info = {
- .name = "dc390",
+ .name = TYPE_DC390_DEVICE,
.parent = TYPE_AM53C974_DEVICE,
.instance_size = sizeof(DC390State),
.class_init = dc390_class_init,