[PATCH] remove sched.h from input.h

Matthew Wilcox (willy@debian.org)
Sun, 17 Nov 2002 03:21:09 +0000


input.h wants fs.h and timer.h, not sched.h

diff -urpNX dontdiff linux-2.5.47/include/linux/input.h linux-2.5.47-pci/include/linux/input.h
--- linux-2.5.47/include/linux/input.h 2002-10-15 09:32:41.000000000 -0400
+++ linux-2.5.47-pci/include/linux/input.h 2002-11-16 21:59:01.000000000 -0500
@@ -734,8 +734,9 @@ struct ff_effect {
* In-kernel definitions.
*/

-#include <linux/sched.h>
#include <linux/devfs_fs_kernel.h>
+#include <linux/fs.h>
+#include <linux/timer.h>

#define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1)
#define BIT(x) (1UL<<((x)%BITS_PER_LONG))

-- 
Revolutions do not require corporate support.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/