[PATCH 1/9] dmaengine: omap-dma: include header for bool type

Suman Anna s-anna at ti.com
Mon Feb 12 17:32:35 PST 2018


The omap-dmaengine.h header file uses a bool type, so include
the linux types.h header file so that it is self-contained.
The lack of this header caused some build errors while cleaning
up some header files from various omap_hwmod data files.

Signed-off-by: Suman Anna <s-anna at ti.com>
---
 include/linux/omap-dmaengine.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/omap-dmaengine.h b/include/linux/omap-dmaengine.h
index 8e6906c72e90..fc245bafb3ea 100644
--- a/include/linux/omap-dmaengine.h
+++ b/include/linux/omap-dmaengine.h
@@ -8,6 +8,8 @@
 #ifndef __LINUX_OMAP_DMAENGINE_H
 #define __LINUX_OMAP_DMAENGINE_H
 
+#include <linux/types.h>
+
 struct dma_chan;
 
 #if defined(CONFIG_DMA_OMAP) || (defined(CONFIG_DMA_OMAP_MODULE) && defined(MODULE))
-- 
2.15.1




More information about the linux-arm-kernel mailing list