2002-11-17 03:14:14

by Matthew Wilcox

[permalink] [raw]
Subject: [PATCH] remove sched.h from input.h


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.