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 514ed45..d117b29 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
  * -------------------------------------------------------------------------------