]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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)
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

index e5b69556bb5b270f5d0b1250d5c01825ba27ea43..21124ec0a73d64d8b4f937b6a7d93d37a6f81a69 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/workqueue.h>
 #include <linux/init.h>
 #include <linux/rfkill.h>
+#include <linux/sched.h>
 
 #include "rfkill-input.h"