Skip to content

Commit b8129a1

Browse files
Wei YongjunKAGA-KOKO
authored andcommitted
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>
1 parent 474aa3d commit b8129a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/irq/chip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ void handle_percpu_devid_irq(struct irq_desc *desc)
782782
chip->irq_eoi(&desc->irq_data);
783783
}
784784

785-
void
785+
static void
786786
__irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
787787
int is_chained, const char *name)
788788
{

0 commit comments

Comments
 (0)