diff mbox series

kernel/irq: export irq_gc_set_wake

Message ID 20210305080658.2422114-1-jay.xu@rock-chips.com (mailing list archive)
State New, archived
Headers show
Series kernel/irq: export irq_gc_set_wake | expand

Commit Message

Jianqun Xu March 5, 2021, 8:06 a.m. UTC
Module driver may use irq_gc_set_wake.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
---
 kernel/irq/generic-chip.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij March 10, 2021, 10:58 p.m. UTC | #1
On Fri, Mar 5, 2021 at 9:07 AM Jianqun Xu <jay.xu@rock-chips.com> wrote:

> Module driver may use irq_gc_set_wake.
>
> Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Aha there it is, perfect!

Marc/Thomas: can I have an ACK to apply this patch to the
pin control tree?

Yours,
Linus Walleij
Marc Zyngier March 11, 2021, 9:36 a.m. UTC | #2
On Wed, 10 Mar 2021 22:58:50 +0000,
Linus Walleij <linus.walleij@linaro.org> wrote:
> 
> On Fri, Mar 5, 2021 at 9:07 AM Jianqun Xu <jay.xu@rock-chips.com> wrote:
> 
> > Module driver may use irq_gc_set_wake.
> >
> > Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
> 
> Aha there it is, perfect!
> 
> Marc/Thomas: can I have an ACK to apply this patch to the
> pin control tree?

For reference:
https://lore.kernel.org/r/20210305080658.2422114-1-jay.xu@rock-chips.com

Acked-by: Marc Zyngier <maz@kernel.org>

Thanks,

	M.
diff mbox series

Patch

diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c
index a23ac2bbf433..f8f23af6ab0d 100644
--- a/kernel/irq/generic-chip.c
+++ b/kernel/irq/generic-chip.c
@@ -200,6 +200,7 @@  int irq_gc_set_wake(struct irq_data *d, unsigned int on)
 	irq_gc_unlock(gc);
 	return 0;
 }
+EXPORT_SYMBOL_GPL(irq_gc_set_wake);
 
 static u32 irq_readl_be(void __iomem *addr)
 {