From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Mon, 13 Oct 2008 19:59:03 +0000 (+0200)
Subject: net/rfkill/rfkill-input.c needs <linux/sched.h>
X-Git-Tag: firefly_0821_release~17690
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=56f26f7b78af36d0f048a9403084870d2ffb549f;p=firefly-linux-kernel-4.4.55.git

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>
---

diff --git a/net/rfkill/rfkill-input.c b/net/rfkill/rfkill-input.c
index e5b69556bb5b..21124ec0a73d 100644
--- a/net/rfkill/rfkill-input.c
+++ b/net/rfkill/rfkill-input.c
@@ -16,6 +16,7 @@
 #include <linux/workqueue.h>
 #include <linux/init.h>
 #include <linux/rfkill.h>
+#include <linux/sched.h>
 
 #include "rfkill-input.h"