* [PATCH] remove sched.h from parport.h
@ 2002-11-17 3:24 Matthew Wilcox
0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2002-11-17 3:24 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, Janitors
parport only needs jiffies.h, not sched.h
diff -urpNX dontdiff linux-2.5.47/include/linux/parport.h linux-2.5.47-pci/include/linux/parport.h
--- linux-2.5.47/include/linux/parport.h 2002-10-01 03:07:39.000000000 -0400
+++ linux-2.5.47-pci/include/linux/parport.h 2002-11-16 21:50:26.000000000 -0500
@@ -8,7 +8,6 @@
#ifndef _PARPORT_H_
#define _PARPORT_H_
-#include <linux/sched.h>
/* Start off with user-visible constants */
@@ -97,13 +96,14 @@ typedef enum {
/* The rest is for the kernel only */
#ifdef __KERNEL__
-#include <linux/wait.h>
+#include <linux/config.h>
+#include <linux/jiffies.h>
+#include <linux/proc_fs.h>
#include <linux/spinlock.h>
+#include <linux/wait.h>
#include <asm/system.h>
#include <asm/ptrace.h>
#include <asm/semaphore.h>
-#include <linux/proc_fs.h>
-#include <linux/config.h>
#define PARPORT_NEED_GENERIC_OPS
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-17 3:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-17 3:24 [PATCH] remove sched.h from parport.h Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®