Skip to content

Commit

Permalink
dc390: Use TYPE_DC390_DEVICE constant
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
ehabkost committed Aug 27, 2020
1 parent 8c2eedc commit 9295131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/scsi/esp-pci.c
Expand Up @@ -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,
Expand Down

0 comments on commit 9295131

Please sign in to comment.