From: Cédric Le Goater Date: Sat, 1 May 2021 08:03:51 +0000 (+0200) Subject: aspeed/i2c: Rename DMA address space X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3f7a53b22469ed4b80649ef92b94378c60dda5d0;p=qemu.git aspeed/i2c: Rename DMA address space It improves 'info mtree' output. Signed-off-by: Cédric Le Goater Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210407171637.777743-5-clg@kaod.org> Signed-off-by: Cédric Le Goater --- diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/aspeed_i2c.c index e713352889..8d276d9ed3 100644 --- a/hw/i2c/aspeed_i2c.c +++ b/hw/i2c/aspeed_i2c.c @@ -816,7 +816,8 @@ static void aspeed_i2c_realize(DeviceState *dev, Error **errp) return; } - address_space_init(&s->dram_as, s->dram_mr, "dma-dram"); + address_space_init(&s->dram_as, s->dram_mr, + TYPE_ASPEED_I2C "-dma-dram"); } }