Skip to content

Commit

Permalink
hw/ide: Include 'exec/ioport.h' instead of 'hw/isa/isa.h'
Browse files Browse the repository at this point in the history
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é <philmd@linaro.org>
Message-Id: <20230215112712.23110-9-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
  • Loading branch information
philmd committed Feb 27, 2023
1 parent 989bc90 commit 1f7a0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/hw/ide/internal.h
Expand Up @@ -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
Expand Down

0 comments on commit 1f7a0d0

Please sign in to comment.