]> git.baikalelectronics.ru Git - kernel.git/commit
net/rfkill/rfkill-input.c needs <linux/sched.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Oct 2008 19:59:03 +0000 (21:59 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 14 Oct 2008 17:23:27 +0000 (10:23 -0700)
commit27b2b8c86863b93aed73641df66cea3ae608267b
tree0d15550377d5cec7379c76a0158e3536eb5dc94d
parent1d6c815c983d17aa896c0a08cc408715ca529591
net/rfkill/rfkill-input.c needs <linux/sched.h>

For some m68k configs, I get:

| net/rfkill/rfkill-input.c: In function 'rfkill_start':
| net/rfkill/rfkill-input.c:208: error: dereferencing pointer to incomplete type

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

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/rfkill/rfkill-input.c