diff options
author | Andreas Färber <afaerber@suse.de> | 2013-06-07 14:45:17 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-06-07 14:55:33 +0200 |
commit | fef7fbc92496f5f6d2b7395263830bce15ebf410 (patch) | |
tree | a18ccc5c8b20fe7c25ac9df788419af919d7a8f6 /include | |
parent | 4a17cc4f285d7ffe41847bf728cd88c736237416 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/qdev-core.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index cf83d5471a..7fbffcbaad 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -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); |