Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1592901

[PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling
Date 2017-03-06 04:10 +0100
Message-ID <thRc6-1Dq-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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 <mingo@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/char/nwbutton.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/nwbutton.c b/drivers/char/nwbutton.c
index a5b1eb276c0b..e6d0d271c58c 100644
--- a/drivers/char/nwbutton.c
+++ b/drivers/char/nwbutton.c
@@ -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>
-- 
2.7.4

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] char: nwbutton: Fix build breakage caused by include file reshuffling Guenter Roeck <linux@roeck-us.net> - 2017-03-06 04:10 +0100
  [tip:core/urgent] drivers/char/nwbutton: Fix build breakage caused  by include file reshuffling tip-bot for Guenter Roeck <tipbot@zytor.com> - 2017-03-07 10:50 +0100

csiph-web