Message ID | 20180709135435.836-12-peter.maydell@linaro.org |
---|---|
State | New |
Headers | show |
Series | [PULL,01/11] hw/arm/smmu-common: Fix devfn computation in smmu_iommu_mr | expand |
diff --git a/hw/net/dp8393x.c b/hw/net/dp8393x.c index f2d2ce344cc..b53fcaa8bc3 100644 --- a/hw/net/dp8393x.c +++ b/hw/net/dp8393x.c @@ -887,7 +887,7 @@ static void dp8393x_realize(DeviceState *dev, Error **errp) s->watchdog = timer_new_ns(QEMU_CLOCK_VIRTUAL, dp8393x_watchdog, s); s->regs[SONIC_SR] = 0x0004; /* only revision recognized by Linux */ - memory_region_init_ram_nomigrate(&s->prom, OBJECT(dev), + memory_region_init_ram(&s->prom, OBJECT(dev), "dp8393x-prom", SONIC_PROM_SIZE, &local_err); if (local_err) { error_propagate(errp, local_err);