aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/omap_intc.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-24 17:59:32 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-09-09 13:20:22 -0400
commit59b9fbe9c58bce9fe2dfb76cbac5a0c72fe9fe5b (patch)
tree459c8ffea7df89f1b5d771ed6f5ccceaa2e9be01 /hw/intc/omap_intc.c
parentcf1abfcad620bfd358aa16df62eb0337f51a6689 (diff)
downloadqemu-59b9fbe9c58bce9fe2dfb76cbac5a0c72fe9fe5b.zip
qemu-59b9fbe9c58bce9fe2dfb76cbac5a0c72fe9fe5b.tar.gz
qemu-59b9fbe9c58bce9fe2dfb76cbac5a0c72fe9fe5b.tar.bz2
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>
Diffstat (limited to 'hw/intc/omap_intc.c')
-rw-r--r--hw/intc/omap_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/omap_intc.c b/hw/intc/omap_intc.c
index b8a1d1f..d7183d0 100644
--- a/hw/intc/omap_intc.c
+++ b/hw/intc/omap_intc.c
@@ -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,
};