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:
Siddharth Gupta 2020-06-09 18:51:07 -07:00
commit d2006e6901

View file

@ -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 {