mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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 <sidgup@codeaurora.org>
This commit is contained in:
parent
063759141a
commit
d2006e6901
1 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
#ifndef __QG_H__
|
||||
#define __QG_H__
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
#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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue