qdev: change first argument of qbus_create_inplace to void *
commit39355c3826f5d9a2eb1ce3dc9b4cdd68893769d6
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2013 13:12:28 +0000 (25 14:12 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 21:53:09 +0000 (1 15:53 -0600)
tree9f098b73f5def4436df27a6bde2b09aca242b645
parent013e118247d0f1894f329ad31b8f8a9e279555f3
qdev: change first argument of qbus_create_inplace to void *

Make it clear that no BUS() macro is needed in the callers (in fact it
wouldn't work because the object has not been initialized yet with the
right class).

Suggested-by: Andreas Faerber <afaerber@suse.de>
Acked-by: Andreas F=E4rber <afaerber@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev-core.h
hw/qdev.c