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

Viresh Kumar viresh.kumar at st.com
Thu Feb 16 06:00:59 EST 2012


On 1/4/2012 12:22 PM, Viresh KUMAR wrote:
> 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 at st.com>
> ---
>  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



More information about the linux-arm-kernel mailing list