From: Philippe Mathieu-Daudé Date: Thu, 9 Feb 2023 22:37:23 +0000 (+0100) Subject: hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h' X-Git-Tag: v8.0.0-rc0~41^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f7a0d0339c1b273865f849eb3b83c411e344865;p=thirdparty%2Fqemu.git hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h' The IDEBus structure has PortioList fields, so we need its declarations from "exec/ioport.h". "hw/isa/isa.h" is not required. Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20230215112712.23110-9-philmd@linaro.org> Reviewed-by: Richard Henderson Reviewed-by: Alex Bennée --- diff --git a/include/hw/ide/internal.h b/include/hw/ide/internal.h index e6deb1c5dc5..84d3722d67a 100644 --- a/include/hw/ide/internal.h +++ b/include/hw/ide/internal.h @@ -9,9 +9,9 @@ #include "hw/ide.h" #include "hw/irq.h" -#include "hw/isa/isa.h" #include "sysemu/dma.h" #include "hw/block/block.h" +#include "exec/ioport.h" /* debug IDE devices */ #define USE_DMA_CDROM