diff options
Diffstat (limited to 'hw/misc/macio')
-rw-r--r-- | hw/misc/macio/pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/macio/pmu.c b/hw/misc/macio/pmu.c index 5fa792846c..9a9cd427e1 100644 --- a/hw/misc/macio/pmu.c +++ b/hw/misc/macio/pmu.c @@ -758,7 +758,7 @@ static void pmu_realize(DeviceState *dev, Error **errp) if (s->has_adb) { qbus_create_inplace(&s->adb_bus, sizeof(s->adb_bus), TYPE_ADB_BUS, - DEVICE(dev), "adb.0"); + dev, "adb.0"); s->adb_poll_timer = timer_new_ms(QEMU_CLOCK_VIRTUAL, pmu_adb_poll, s); s->adb_poll_mask = 0xffff; s->autopoll_rate_ms = 20; |