omap_intc: QOM'ify omap-intc and omap2-intc
authorAndreas Färber <afaerber@suse.de>
Fri, 26 Jul 2013 18:14:20 +0000 (20:14 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 29 Jul 2013 19:06:58 +0000 (21:06 +0200)
commit47edc5a479e0927c6ce04eaf3e84db0ba7ddbb41
tree4b3564ac3b84ad602330ee87d3e1f8c55ecc9d99
parent1f8a9eac51427be2e9e63fcbe9d4d174640a0b19
omap_intc: QOM'ify omap-intc and omap2-intc

Create a new abstract base type and let omap-intc and omap2-intc inherit
from it. Introduce a type constant and use QOM casts.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/intc/omap_intc.c