diff mbox

[13/29] cirrus: qidl_declare ISACirrusVGAState

Message ID 1351775071-7644-14-git-send-email-mdroth@linux.vnet.ibm.com
State New
Headers show

Commit Message

Michael Roth Nov. 1, 2012, 1:04 p.m. UTC
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
 hw/cirrus_vga.c |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 9b27317..220525a 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -258,10 +258,12 @@  QIDL_DECLARE(PCICirrusVGAState) {
     CirrusVGAState cirrus_vga;
 };
 
-typedef struct ISACirrusVGAState {
-    ISADevice dev;
+typedef struct ISACirrusVGAState ISACirrusVGAState;
+
+QIDL_DECLARE(ISACirrusVGAState) {
+    ISADevice dev q_immutable;
     CirrusVGAState cirrus_vga;
-} ISACirrusVGAState;
+};
 
 static uint8_t rop_to_index[256];