aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-11-14 02:54:46 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-15 14:36:06 -0500
commitfb75109834ca5c5e2f0f17f0c9e20182ea55b65f (patch)
treef680499640928edad4f6deefee6d1dba9c341535 /drivers/misc
parent27123cbc264de89ce6951b1b4c84c223eb0f1702 (diff)
misc: C2port needs <linux/sched.h>
m68k allmodconfig: | drivers/misc/c2port/core.c: In function 'c2port_reset': | drivers/misc/c2port/core.c:73: error: dereferencing pointer to incomplete type | drivers/misc/c2port/core.c: In function 'c2port_strobe_ck': | drivers/misc/c2port/core.c:91: error: dereferencing pointer to incomplete type Include <linux/sched.h> to fix it, as m68k's local_irq_enable() needs to know about struct task_struct. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/c2port/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/c2port/core.c b/drivers/misc/c2port/core.c
index 976b35d1d035..0207dd59090d 100644
--- a/drivers/misc/c2port/core.c
+++ b/drivers/misc/c2port/core.c
@@ -18,6 +18,7 @@
18#include <linux/ctype.h> 18#include <linux/ctype.h>
19#include <linux/delay.h> 19#include <linux/delay.h>
20#include <linux/idr.h> 20#include <linux/idr.h>
21#include <linux/sched.h>
21 22
22#include <linux/c2port.h> 23#include <linux/c2port.h>
23 24