diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-06-19 09:28:41 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-08-31 19:47:43 +0200 |
commit | 56c39a41adadfc567e1ac22089670bfde6b35365 (patch) | |
tree | 8076eb208267c4b752b674e71f7acd0472ce7b33 /hw | |
parent | ae4994d2c803794ac63d9351366b60541584e5c5 (diff) | |
download | qemu-56c39a41adadfc567e1ac22089670bfde6b35365.zip qemu-56c39a41adadfc567e1ac22089670bfde6b35365.tar.gz qemu-56c39a41adadfc567e1ac22089670bfde6b35365.tar.bz2 |
hw/dma/etraxfs: Include missing 'exec/memory.h' header
The 'fs_dma_ctrl' structure has a MemoryRegion 'mmio' field
which is initialized in etraxfs_dmac_init() calling
memory_region_init_io() and memory_region_add_subregion().
These functions are declared in "exec/memory.h", along with
the MemoryRegion structure. Include the missing header.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230619074153.44268-3-philmd@linaro.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/dma/etraxfs_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/dma/etraxfs_dma.c b/hw/dma/etraxfs_dma.c index a1068b1..9c0003d 100644 --- a/hw/dma/etraxfs_dma.c +++ b/hw/dma/etraxfs_dma.c @@ -28,6 +28,7 @@ #include "qemu/main-loop.h" #include "sysemu/runstate.h" #include "exec/address-spaces.h" +#include "exec/memory.h" #include "hw/cris/etraxfs_dma.h" |