projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21ac34
)
ipack: QOM parent field cleanup for IPackDevice
author
Andreas Färber
<afaerber@suse.de>
Thu, 1 Aug 2013 16:48:28 +0000
(18:48 +0200)
committer
Andreas Färber
<afaerber@suse.de>
Fri, 14 Feb 2014 20:07:20 +0000
(21:07 +0100)
Rename the IPackDevice::qdev field to avoid accidental use.
Acked-by: Alberto Garcia <agarcia@igalia.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/char/ipack.h
patch
|
blob
|
history
diff --git
a/hw/char/ipack.h
b/hw/char/ipack.h
index a386b88bafeb3efb33c79c7a6859e81282c723d8..e95ffe820d2fac97e9d6656a2130e44805853d74 100644
(file)
--- a/
hw/char/ipack.h
+++ b/
hw/char/ipack.h
@@
-64,7
+64,10
@@
struct IPackDeviceClass {
};
struct IPackDevice {
- DeviceState qdev;
+ /*< private >*/
+ DeviceState parent_obj;
+ /*< public >*/
+
int32_t slot;
/* IRQ objects for the IndustryPack INT0# and INT1# */
qemu_irq *irq;