summary refs log tree commit diff stats
path: root/include/hw/ppc/xics.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2017-03-07 10:23:40 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2017-04-26 12:00:41 +1000
commit147ff8079ee0cf45562e202c1054814f14628b65 (patch)
tree8b8c8652b526f81ca6b25e758bcfeb59d4826ef7 /include/hw/ppc/xics.h
parent3fa14fbe1310e8980072447ba405571be7a78a5d (diff)
downloadfocaccia-qemu-147ff8079ee0cf45562e202c1054814f14628b65.tar.gz
focaccia-qemu-147ff8079ee0cf45562e202c1054814f14628b65.zip
ppc/spapr: QOM'ify sPAPRRTCState
Also use an 'sPAPRRTCState' attribute under the sPAPR machine to hold
the RTC object. Overall, these changes remove an unnecessary and
implicit dependency on SysBus.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/xics.h')
-rw-r--r--include/hw/ppc/xics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/xics.h b/include/hw/ppc/xics.h
index 9a5e715fe5..ce230183a1 100644
--- a/include/hw/ppc/xics.h
+++ b/include/hw/ppc/xics.h
@@ -28,7 +28,7 @@
 #ifndef XICS_H
 #define XICS_H
 
-#include "hw/sysbus.h"
+#include "hw/qdev.h"
 
 #define XICS_IPI        0x2
 #define XICS_BUID       0x1