misc: C2port needs <linux/sched.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 14 Nov 2008 07:54:46 +0000 (08:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 15 Nov 2008 19:36:06 +0000 (11:36 -0800)
commitfb75109834ca5c5e2f0f17f0c9e20182ea55b65f
treef680499640928edad4f6deefee6d1dba9c341535
parent27123cbc264de89ce6951b1b4c84c223eb0f1702
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>
drivers/misc/c2port/core.c