Message ID | 1486978404-17509-1-git-send-email-clg@kaod.org |
---|---|
State | New |
Headers | show |
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h index 3f0c31610aa4..e8794aa5cba8 100644 --- a/include/hw/ppc/xics.h +++ b/include/hw/ppc/xics.h @@ -71,7 +71,7 @@ typedef struct ICSState ICSState; typedef struct ICSIRQState ICSIRQState; struct XICSStateClass { - DeviceClass parent_class; + SysBusDeviceClass parent_class; void (*cpu_setup)(XICSState *icp, PowerPCCPU *cpu); void (*set_nr_irqs)(XICSState *icp, uint32_t nr_irqs, Error **errp);
XICSState inherits from SysBusDevice and so the object class should inherit from SysBusDeviceClass. Signed-off-by: Cédric Le Goater <clg@kaod.org> --- include/hw/ppc/xics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)