Skip to content

Commit de2fa0b

Browse files
Han Sol Jinoobaboo
authored andcommitted
uapi: tspdrv: use type definitions outside of kernel builds
Change-Id: Ia60059cc8ec712bb00129bba1d71bee652d6e401 Signed-off-by: Han Sol Jin <hansol@hansol.ca>
1 parent 9c43705 commit de2fa0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/uapi/linux/tspdrv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@
7171
#define MAX_DEBUG_BUFFER_LENGTH 1024
7272

7373
/* Type definitions */
74-
#ifdef __KERNEL__
7574
typedef int8_t VibeInt8;
7675
typedef u_int8_t VibeUInt8;
7776
typedef int16_t VibeInt16;
@@ -82,6 +81,7 @@ typedef u_int8_t VibeBool;
8281
typedef VibeInt32 VibeStatus;
8382

8483
/* Debug Levels */
84+
#ifdef __KERNEL__
8585
#define DBL_TEMP 0
8686
#define DBL_FATAL 0
8787
#define DBL_ERROR 1

0 commit comments

Comments
 (0)