[PATCH] remove sched.h from parport.h

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


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.
-
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/