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>
This commit is contained in:
parent
8c2eedcea3
commit
92951316dc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user