Thread (2 messages) flat view 2 messages, 1 author, 2012-02-16
DORMANTno replies

[PATCH] amba/serial.h: Include types.h for resolving dependency of type bool

From: Viresh Kumar <hidden>
Date: 2012-02-16 11:00:59

On 1/4/2012 12:22 PM, Viresh KUMAR wrote:
quoted hunk ↗ jump to hunk
serial.h uses bool, but its definition is missing, as it doesn't include
types.h. Fix this by including types.h

Signed-off-by: Viresh Kumar <redacted>
---
 include/linux/amba/serial.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/amba/serial.h b/include/linux/amba/serial.h
index 514ed45..d117b29 100644
--- a/include/linux/amba/serial.h
+++ b/include/linux/amba/serial.h
@@ -23,6 +23,8 @@
 #ifndef ASM_ARM_HARDWARE_SERIAL_AMBA_H
 #define ASM_ARM_HARDWARE_SERIAL_AMBA_H
 
+#include <linux/types.h>
+
 /* -------------------------------------------------------------------------------
  *  From AMBA UART (PL010) Block Specification
  * -------------------------------------------------------------------------------
Any feedback?

-- 
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help