amba/serial.h: Include types.h for resolving dependency of type bool
PATCH 1/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 <[email protected]>
--- include/linux/amba/serial.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/amba/serial.h +2 -0
@@ -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 * -------------------------------------------------------------------------------
Signature · 1 line
1.7.8.110.g4cb5d
PATCH 1/1 amba/serial.h: Include types.h for resolving dependency of type bool
Quoted 13 lines · Viresh KUMAR
serial.huses bool, but its definition is missing, as it doesn't includetypes.h. Fix this by includingtypes.hSigned-off-by Viresh Kumar <[email protected]>--- include/linux/amba/serial.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)include/linux/amba/serial.h +0
-0
include/linux/amba/serial.h line 30
Quoted 8 lines
include/linux/amba/serial.h +2
-0@@ -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?
Signature · 1 line
viresh