summary refs log tree commit diff stats
path: root/include/hw/isa/isa.h
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-07 13:49:13 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-07 14:55:33 +0200
commit4a17cc4f285d7ffe41847bf728cd88c736237416 (patch)
tree8660ca33cdb5f9852502a9287587ff27b5a529bc /include/hw/isa/isa.h
parent2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0 (diff)
downloadfocaccia-qemu-4a17cc4f285d7ffe41847bf728cd88c736237416.tar.gz
focaccia-qemu-4a17cc4f285d7ffe41847bf728cd88c736237416.zip
isa: QOM'ify ISADevice
Rename its parent field and use DEVICE() where necessary.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/isa/isa.h')
-rw-r--r--include/hw/isa/isa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h
index da731d7bc7..e1bf96ca69 100644
--- a/include/hw/isa/isa.h
+++ b/include/hw/isa/isa.h
@@ -34,7 +34,10 @@ struct ISABus {
 };
 
 struct ISADevice {
-    DeviceState qdev;
+    /*< private >*/
+    DeviceState parent_obj;
+    /*< public >*/
+
     uint32_t isairq[2];
     int nirqs;
     int ioport_id;