[24/29] ide: qidl_declare ISAIDEState

Submitted by Michael Roth on Nov. 1, 2012, 1:04 p.m.

Details

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

Commit Message

Michael Roth Nov. 1, 2012, 1:04 p.m.
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
---
 hw/ide/isa.c |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/hw/ide/isa.c b/hw/ide/isa.c
index 8ab2718..992c553 100644
--- a/hw/ide/isa.c
+++ b/hw/ide/isa.c
@@ -27,20 +27,23 @@ 
 #include <hw/isa.h>
 #include "block.h"
 #include "dma.h"
+#include "qidl.h"
 
 #include <hw/ide/internal.h>
 
 /***********************************************************/
 /* ISA IDE definitions */
 
-typedef struct ISAIDEState {
+typedef struct ISAIDEState ISAIDEState;
+
+QIDL_DECLARE(ISAIDEState) {
     ISADevice dev;
     IDEBus    bus;
     uint32_t  iobase;
     uint32_t  iobase2;
     uint32_t  isairq;
     qemu_irq  irq;
-} ISAIDEState;
+};
 
 static void isa_ide_reset(DeviceState *d)
 {