aboutsummaryrefslogtreecommitdiff
path: root/hw/exynos4210_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/exynos4210_uart.c')
-rw-r--r--hw/exynos4210_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/exynos4210_uart.c b/hw/exynos4210_uart.c
index adaab242fe..bdf797a029 100644
--- a/hw/exynos4210_uart.c
+++ b/hw/exynos4210_uart.c
@@ -615,7 +615,7 @@ DeviceState *exynos4210_uart_create(hwaddr addr,
qdev_prop_set_uint32(dev, "rx-size", fifo_size);
qdev_prop_set_uint32(dev, "tx-size", fifo_size);
- bus = sysbus_from_qdev(dev);
+ bus = SYS_BUS_DEVICE(dev);
qdev_init_nofail(dev);
if (addr != (hwaddr)-1) {
sysbus_mmio_map(bus, 0, addr);