omap_intc: Use typedef name for instance_size
This makes the code consistent with the rest of QOM code in QEMU, and will make automated conversion to type declaration macros simpler. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <20200824215936.2961951-3-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
cf1abfcad6
commit
59b9fbe9c5
@ -676,7 +676,7 @@ static const TypeInfo omap2_intc_info = {
|
||||
static const TypeInfo omap_intc_type_info = {
|
||||
.name = TYPE_OMAP_INTC,
|
||||
.parent = TYPE_SYS_BUS_DEVICE,
|
||||
.instance_size = sizeof(struct omap_intr_handler_s),
|
||||
.instance_size = sizeof(omap_intr_handler),
|
||||
.abstract = true,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user