[PATCH] input.h should always include asm/types.h

From: Daniel Drake
Date: Mon Mar 27 2006 - 07:03:52 EST


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 <dsd@xxxxxxxxxx>

--- linux/include/linux/input.h.orig 2006-03-27 13:09:50.000000000 +0100
+++ linux/include/linux/input.h 2006-03-27 13:10:03.000000000 +0100
@@ -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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/