genirq: Make function __irq_do_set_handler() static
PATCH 1/1 genirq: Make function __irq_do_set_handler() static
From: Wei Yongjun <[email protected]>
Fixes the following sparse warning:
kernel/irq/chip.c:786:1: warning:
symbol '__irq_do_set_handler' was not declared. Should it be static?
Signed-off-by Wei Yongjun <[email protected]>
--- kernel/irq/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/chip.c +1 -1
@@ -782,7 +782,7 @@ void handle_percpu_devid_irq(struct irq_desc *desc) chip->irq_eoi (&desc->irq_data); } -void +static void __irq_do_set_handler (struct irq_desc *desc,irq_flow_handler_t handle,int is_chained,const char *name) {
tip-bot for Wei Yongjun
merge botgenirq: Make function __irq_do_set_handler() static
Commit-ID: b8129a1f6aaaca02d92186acf19ceb545b4b489a Gitweb: http://git.kernel.org/tip/b8129a1f6aaaca02d92186acf19ceb545b4b489a Author: Wei Yongjun <[email protected]> AuthorDate: Sun, 25 Sep 2016 15:36:39 +0000 Committer: Thomas Gleixner <[email protected]> CommitDate: Sun, 25 Sep 2016 16:46:52 -0400
genirq: Make function __irq_do_set_handler() static
Fixes the following sparse warning:
kernel/irq/chip.c:786:1: warning:
symbol '__irq_do_set_handler' was not declared. Should it be static?
Signed-off-by Wei Yongjun <[email protected]>
Signed-off-by Thomas Gleixner <[email protected]>
--- kernel/irq/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/chip.c +1 -1
@@ -782,7 +782,7 @@ void handle_percpu_devid_irq(struct irq_desc *desc) chip->irq_eoi (&desc->irq_data); } -void +static void __irq_do_set_handler (struct irq_desc *desc,irq_flow_handler_t handle,int is_chained,const char *name) {