Skip to contentSkip to conversation

input.h should always include asm/types.h

PATCH New Daniel Drake 1 participant 1 message Mar 27, 2006 Input drivers

lore
Share & tools
lore
#0 lore raw

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.

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