Browse Source

ARM: 7339/1: amba/serial.h: Include types.h for resolving dependency of type bool

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>
viresh kumar 13 years ago
parent
commit
7e55d0527e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/linux/amba/serial.h

+ 2 - 0
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
  * -------------------------------------------------------------------------------