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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux