Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent ae4994d commit 56c39a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hw/dma/etraxfs_dma.c
Expand Up @@ -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"

Expand Down

0 comments on commit 56c39a4

Please sign in to comment.