qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] ppc/xics: fix XICSStateClass parent class


From: Cédric Le Goater
Subject: [Qemu-devel] [PATCH] ppc/xics: fix XICSStateClass parent class
Date: Mon, 13 Feb 2017 10:33:24 +0100

XICSState inherits from SysBusDevice and so the object class should
inherit from SysBusDeviceClass.

Signed-off-by: Cédric Le Goater <address@hidden>
---
 include/hw/ppc/xics.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]