commit | fef7fbc92496f5f6d2b7395263830bce15ebf410 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Fri Jun 07 14:45:17 2013 +0200 |
committer | Andreas Färber <afaerber@suse.de> | Fri Jun 07 14:55:33 2013 +0200 |
tree | a18ccc5c8b20fe7c25ac9df788419af919d7a8f6 | |
parent | 4a17cc4f285d7ffe41847bf728cd88c736237416 [diff] [blame] |
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>
diff --git a/hw/ssi/ssi.c b/hw/ssi/ssi.c index 1264d9d..2c25260 100644 --- a/hw/ssi/ssi.c +++ b/hw/ssi/ssi.c
@@ -103,7 +103,7 @@ { BusState *bus; bus = qbus_create(TYPE_SSI_BUS, parent, name); - return FROM_QBUS(SSIBus, bus); + return SSI_BUS(bus); } uint32_t ssi_transfer(SSIBus *bus, uint32_t val)