input.h should always include asm/types.h
PATCH 1/1 input.h should always include asm/types.h
Commit 1d8f430c15b3a345db990e285742c67c2f52f9a6 added modalias support to the input subsystem. Now that input.h uses BITS_PER_LONG, asm/types.h should be included even in __KERNEL__ space.
Signed-off-by Daniel Drake <[email protected]>
include/linux/input.h renamed from include/linux/input.h.orig +1 -1
@@ -17,8 +17,8 @@#else #include <sys/time.h> #include <sys/ioctl.h> -#include <asm/types.h> #endif +#include <asm/types.h> /* * The event structure itself