To be passed to qbus_create_inplace().
Simplify DEVICE() cast to avoid parent field access.
s-dev will always point to pci_dev, so this change is safe.
Reviewed-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
Signed-off-by: Andreas Färber afaer...@suse.de
---
hw/char/ipack.c | 3 ++-
To be passed to qbus_create_inplace().
Simplify DEVICE() cast to avoid parent field access.
Signed-off-by: Andreas Färber afaer...@suse.de
---
hw/char/ipack.c | 3 ++-
hw/char/ipack.h | 3 ++-
hw/char/tpci200.c | 2 +-
3 files changed, 5 insertions(+), 3 deletions(-)
diff --git