Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Linus Torvalds
56f26f7b fff11c0c

+1
+1
net/rfkill/rfkill-input.c
··· 16 16 #include <linux/workqueue.h> 17 17 #include <linux/init.h> 18 18 #include <linux/rfkill.h> 19 + #include <linux/sched.h> 19 20 20 21 #include "rfkill-input.h" 21 22