ARM: 7339/1: amba/serial.h: Include types.h for resolving dependency of type bool
authorviresh kumar <viresh.kumar@st.com>
Thu, 23 Feb 2012 03:41:05 +0000 (04:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 23 Feb 2012 22:07:55 +0000 (22:07 +0000)
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 <viresh.kumar@st.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/linux/amba/serial.h

index 514ed45c462eaf0516cbdd9f07d3f96bfada4cc7..d117b29d106227b1036520f870b25b9df316c4f3 100644 (file)
@@ -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
  * -------------------------------------------------------------------------------