Skip to contentSkip to conversation

remove sched.h from input.h

PATCH New Matthew Wilcox 1 participant 1 message Nov 17, 2002 Input drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove sched.h from input.h

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

include/linux/input.h +2 -1
diff -urpNX dontdiff linux-2.5.47/include/linux/input.h linux-2.5.47-pci/include/linux/input.h
@@ -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))
Signature · 1 line
Revolutions do not require corporate support.