drivers/input/ff-core.c needs <linux/sched.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 1 Jul 2008 11:55:25 +0000 (13:55 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Jul 2008 01:40:08 +0000 (18:40 -0700)
commit83680cdbcecd1fd284ad4df060d12bf214bb63a8
treec9adbe4b20190d3065adcb5a0a6acb8ee724cce1
parente1441b9a41c33aa9236008a7cfe49a8e723fb397
drivers/input/ff-core.c needs <linux/sched.h>

Commit 656acd2bbc4ce7f224de499ee255698701396c48 ("Input: fix locking in
force-feedback core") causes the following regression on m68k:

| linux/drivers/input/ff-core.c: In function 'input_ff_upload':
| linux/drivers/input/ff-core.c:172: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c: In function 'erase_effect':
| linux/drivers/input/ff-core.c:197: error: dereferencing pointer to incomplete type
| linux/drivers/input/ff-core.c:204: error: dereferencing pointer to incomplete type
| make[4]: *** [drivers/input/ff-core.o] Error 1

As the incomplete type is `struct task_struct', including <linux/sched.h> fixes
it.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/input/ff-core.c