hw/dma: Pass parent object to i8257_dma_init()

Set I8257 instances parent (migration isn't affected).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240213114426.87836-1-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2024-02-13 12:42:14 +01:00
parent 3c5f86a226
commit 5e37bc4997
8 changed files with 10 additions and 8 deletions

View file

@ -45,6 +45,6 @@ struct I8257State {
PortioList portio_pageh;
};
void i8257_dma_init(ISABus *bus, bool high_page_enable);
void i8257_dma_init(Object *parent, ISABus *bus, bool high_page_enable);
#endif