]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit56f26f7b78af36d0f048a9403084870d2ffb549f
tree0d15550377d5cec7379c76a0158e3536eb5dc94d
parentfff11c0c827c88f1bca0e475fcd4d319ff44c0ac
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