Commit 500b6959 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] remove sched.h from parport.h

parport only needs jiffies.h, not sched.h
parent 4f1c85e1
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#ifndef _PARPORT_H_ #ifndef _PARPORT_H_
#define _PARPORT_H_ #define _PARPORT_H_
#include <linux/sched.h>
/* Start off with user-visible constants */ /* Start off with user-visible constants */
...@@ -97,13 +96,14 @@ typedef enum { ...@@ -97,13 +96,14 @@ typedef enum {
/* The rest is for the kernel only */ /* The rest is for the kernel only */
#ifdef __KERNEL__ #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/spinlock.h>
#include <linux/wait.h>
#include <asm/system.h> #include <asm/system.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
#include <asm/semaphore.h> #include <asm/semaphore.h>
#include <linux/proc_fs.h>
#include <linux/config.h>
#define PARPORT_NEED_GENERIC_OPS #define PARPORT_NEED_GENERIC_OPS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment