From d2006e69014ae6f075fb9bd2a002b4af31df0b83 Mon Sep 17 00:00:00 2001 From: Siddharth Gupta Date: Tue, 9 Jun 2020 18:51:07 -0700 Subject: [PATCH] uapi: qg: Fix UAPI header to enable UAPI_HEADER_TEST UAPI_HEADER_TEST ensures that all the uapi headers can be built as standalone files which facilitates their use in the wider world. Fix headers to use common kernel definitions. Change-Id: I405dcabcede923eb18d8be4e1738b11b2e3761f4 Signed-off-by: Siddharth Gupta --- include/uapi/linux/qg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/qg.h b/include/uapi/linux/qg.h index dfb1f2e71111..db90437136d9 100644 --- a/include/uapi/linux/qg.h +++ b/include/uapi/linux/qg.h @@ -6,6 +6,8 @@ #ifndef __QG_H__ #define __QG_H__ +#include + #define MAX_FIFO_LENGTH 16 enum qg { @@ -50,7 +52,7 @@ struct fifo_data { struct qg_param { unsigned int data; - bool valid; + _Bool valid; }; struct qg_kernel_data {