diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-25 17:36:39 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-25 22:46:52 +0200 |
commit | b8129a1f6aaaca02d92186acf19ceb545b4b489a (patch) | |
tree | 464faa04dee5a1cb09400c2871a3c0648cb3b13c /kernel/irq | |
parent | Merge tag 'irqchip-core-4.9' of git://git.infradead.org/users/jcooper/linux i... (diff) | |
download | linux-b8129a1f6aaaca02d92186acf19ceb545b4b489a.tar.xz linux-b8129a1f6aaaca02d92186acf19ceb545b4b489a.zip |
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 <weiyongjun1@huawei.com>
Link: http://lkml.kernel.org/r/1474817799-18676-1-git-send-email-weiyj.lk@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index d8dfdc630b7e..be3c34e4f2ac 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -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) { |