[PATCH 05/20] dma: Add missing re-inclusion protector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 include/dma-dir.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/dma-dir.h b/include/dma-dir.h
index ba107f10ce..6e186d8148 100644
--- a/include/dma-dir.h
+++ b/include/dma-dir.h
@@ -1,6 +1,11 @@
+#ifndef __DMA_DIR_H
+#define __DMA_DIR_H
+
 enum dma_data_direction {
 	DMA_BIDIRECTIONAL = 0,
 	DMA_TO_DEVICE = 1,
 	DMA_FROM_DEVICE = 2,
 	DMA_NONE = 3,
 };
+
+#endif /* __DMA_DIR_H */
\ No newline at end of file
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux