lkml.org 
[lkml]   [2002]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] remove sched.h from parport.h

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/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.028 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site