]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/soc_dma.h
build: enable using $(CONFIG_FOO) on the rhs of config files
[mirror_qemu.git] / hw / soc_dma.h
index 5948489eaeaf7f35f5a9ea3740aeca8966984dc6..7379731afd793215e9819d6e831541a19e8abedc 100644 (file)
  * 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