mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
qdev: Drop FROM_QBUS() macro
Use QOM cast macros I2C_BUS(), SSI_BUS(), PCI_BUS() instead. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
4a17cc4f28
commit
fef7fbc924
4 changed files with 4 additions and 6 deletions
|
@ -261,8 +261,6 @@ void qbus_reset_all_fn(void *opaque);
|
|||
|
||||
void qbus_free(BusState *bus);
|
||||
|
||||
#define FROM_QBUS(type, dev) DO_UPCAST(type, qbus, dev)
|
||||
|
||||
/* This should go away once we get rid of the NULL bus hack */
|
||||
BusState *sysbus_get_default(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue