diff mbox series

[v2,-next,1/2] genirq: export irq_chip_set_wake_parent symbol

Message ID 20190204095853.12212-1-masneyb@onstation.org (mailing list archive)
State Mainlined, archived
Commit 38f7ae9bdfb6570271c7429d8d72784465c6281e
Headers show
Series [v2,-next,1/2] genirq: export irq_chip_set_wake_parent symbol | expand

Commit Message

Brian Masney Feb. 4, 2019, 9:58 a.m. UTC
Export the irq_chip_set_wake_parent symbol so that drivers with
hierarchical IRQ chips can be built as a module.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Reported-by: Mark Brown <broonie@kernel.org>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
---
This fixes a build failure in linux-next's spmi-gpio when using
allmodconfig. See https://www.spinics.net/lists/linux-next/msg46362.html
for Mark's message.

Changes since v1:
- Moved message about build failure out of the commit message and into
  the notes field.

 kernel/irq/chip.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Linus Walleij Feb. 4, 2019, 10:03 a.m. UTC | #1
On Mon, Feb 4, 2019 at 10:58 AM Brian Masney <masneyb@onstation.org> wrote:

> Export the irq_chip_set_wake_parent symbol so that drivers with
> hierarchical IRQ chips can be built as a module.
>
> Signed-off-by: Brian Masney <masneyb@onstation.org>
> Reported-by: Mark Brown <broonie@kernel.org>
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
> ---
> This fixes a build failure in linux-next's spmi-gpio when using
> allmodconfig. See https://www.spinics.net/lists/linux-next/msg46362.html
> for Mark's message.
>
> Changes since v1:
> - Moved message about build failure out of the commit message and into
>   the notes field.

Patch applied to the GPIO tree. Thanks for the quick fixes!

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c
index 34e969069488..086d5a34b5a0 100644
--- a/kernel/irq/chip.c
+++ b/kernel/irq/chip.c
@@ -1381,6 +1381,7 @@  int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on)
 
 	return -ENOSYS;
 }
+EXPORT_SYMBOL_GPL(irq_chip_set_wake_parent);
 #endif
 
 /**