diff options
Diffstat (limited to 'hw/soc_dma.h')
-rw-r--r-- | hw/soc_dma.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/soc_dma.h b/hw/soc_dma.h index 5948489eae..7379731afd 100644 --- a/hw/soc_dma.h +++ b/hw/soc_dma.h @@ -18,7 +18,11 @@ * with this program; if not, see <http://www.gnu.org/licenses/>. */ -#include "memory.h" +#ifndef HW_SOC_DMA_H +#define HW_SOC_DMA_H 1 + + +#include "exec/memory.h" #include "hw/irq.h" struct soc_dma_s; @@ -108,3 +112,5 @@ static inline void soc_dma_port_add_fifo_out(struct soc_dma_s *dma, { return soc_dma_port_add_fifo(dma, virt_base, fn, opaque, 1); } + +#endif |