char: nwbutton: Fix build breakage caused by include file reshuffling
PATCH 1/1 char: nwbutton: Fix build breakage caused by include file reshuffling
Fix:
drivers/char/nwbutton.c: In function 'button_sequence_finished':drivers/char/nwbutton.c:134:3: error:
implicit declaration of function 'kill_cad_pid'
The declaration has been moved from one include file to another.
Fixes c3edc4010e9d102 ("sched/headers: Move task_struct::signal and ...")
Cc Ingo Molnar <[email protected]>
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/char/nwbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/nwbutton.c +1 -1
@@ -6,7 +6,7 @@#include <linux/module.h> #include <linux/kernel.h> -#include <linux/sched.h> +#include <linux/sched/signal.h> #include <linux/interrupt.h> #include <linux/time.h> #include <linux/timer.h>
Signature · 1 line
2.7.4
tip-bot for Guenter Roeck
merge bot[tip:core/urgent] drivers/char/nwbutton: Fix build breakage caused by include file reshuffling
drivers/char/nwbutton: Fix build breakage caused by include file reshuffling
Commit-ID: bb35e4515411396219431fa235bf21bf9c2794e9 Gitweb: http://git.kernel.org/tip/bb35e4515411396219431fa235bf21bf9c2794e9 Author: Guenter Roeck <[email protected]> AuthorDate: Sun, 5 Mar 2017 17:13:31 -0800 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 7 Mar 2017 08:35:49 +0100
drivers/char/nwbutton: Fix build breakage caused by include file reshuffling
Fix:
drivers/char/nwbutton.c: In function 'button_sequence_finished':
drivers/char/nwbutton.c:134:3: error: implicit declaration of function 'kill_cad_pid'
The declaration has been moved from one include file to another.
Signed-off-by Guenter Roeck <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Fixes c3edc4010e9d102 ("sched/headers: Move task_struct::signal and ...")
Signed-off-by Ingo Molnar <[email protected]>
--- drivers/char/nwbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/char/nwbutton.c +1 -1
@@ -6,7 +6,7 @@#include <linux/module.h> #include <linux/kernel.h> -#include <linux/sched.h> +#include <linux/sched/signal.h> #include <linux/interrupt.h> #include <linux/time.h> #include <linux/timer.h>