History

Input: input_event - fix the CONFIG_SPARC64 mixup

Arnd Bergmann pointed out that CONFIG_* cannot be used in a uapi header. Override with an equivalent conditional.

Deepa Dinamani committed 7 years ago

Commit 141e5dc1 parent ec87da11 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/input.h+1−1
@@ -32,7 +32,7 @@ struct input_event { · 31 unmodified lines
32#define input_event_usec time.tv_usec32#define input_event_usec time.tv_usec
33#else33#else
34 __kernel_ulong_t __sec;34 __kernel_ulong_t __sec;
35#ifdef CONFIG_SPARC6435#if defined(__sparc__) && defined(__arch64__)
36 unsigned int __usec;36 unsigned int __usec;
37#else37#else
38 __kernel_ulong_t __usec;38 __kernel_ulong_t __usec;