linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol
@ 2019-02-04  9:58 Brian Masney
  2019-02-04  9:58 ` [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig Brian Masney
  2019-02-04 10:03 ` [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Linus Walleij
  0 siblings, 2 replies; 4+ messages in thread
From: Brian Masney @ 2019-02-04  9:58 UTC (permalink / raw)
  To: linus.walleij, tglx, marc.zyngier
  Cc: andy.gross, sboyd, kernel-build-reports, linaro-kernel,
	linux-next, linux-arm-kernel, linux-arm-msm, linux-gpio,
	bjorn.andersson, linux-kernel, broonie

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(+)

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
 
 /**
-- 
2.17.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig
  2019-02-04  9:58 [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Brian Masney
@ 2019-02-04  9:58 ` Brian Masney
  2019-02-04 10:04   ` Linus Walleij
  2019-02-04 10:03 ` [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Linus Walleij
  1 sibling, 1 reply; 4+ messages in thread
From: Brian Masney @ 2019-02-04  9:58 UTC (permalink / raw)
  To: linus.walleij, tglx, marc.zyngier
  Cc: andy.gross, sboyd, kernel-build-reports, linaro-kernel,
	linux-next, linux-arm-kernel, linux-arm-msm, linux-gpio,
	bjorn.andersson, linux-kernel, broonie

Select IRQ_DOMAIN_HIERARCHY for spmi-gpio in Kconfig since this driver
is now setup as a hierarchical IRQ chip.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
Changes since v1:
- None

 drivers/pinctrl/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
index 836e9f3eae4c..93efbffcd3a4 100644
--- a/drivers/pinctrl/qcom/Kconfig
+++ b/drivers/pinctrl/qcom/Kconfig
@@ -137,6 +137,7 @@ config PINCTRL_QCOM_SPMI_PMIC
        select PINMUX
        select PINCONF
        select GENERIC_PINCONF
+       select IRQ_DOMAIN_HIERARCHY
        help
          This is the pinctrl, pinmux, pinconf and gpiolib driver for the
          Qualcomm GPIO and MPP blocks found in the Qualcomm PMIC's chips,
-- 
2.17.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol
  2019-02-04  9:58 [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Brian Masney
  2019-02-04  9:58 ` [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig Brian Masney
@ 2019-02-04 10:03 ` Linus Walleij
  1 sibling, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2019-02-04 10:03 UTC (permalink / raw)
  To: Brian Masney
  Cc: Thomas Gleixner, Marc Zyngier, Andy Gross, Stephen Boyd,
	Kernel Build Reports Mailman List, linaro-kernel,
	Linux-Next Mailing List, Linux ARM, linux-arm-msm,
	open list:GPIO SUBSYSTEM, Bjorn Andersson, linux-kernel,
	Mark Brown

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig
  2019-02-04  9:58 ` [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig Brian Masney
@ 2019-02-04 10:04   ` Linus Walleij
  0 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2019-02-04 10:04 UTC (permalink / raw)
  To: Brian Masney
  Cc: Thomas Gleixner, Marc Zyngier, Andy Gross, Stephen Boyd,
	Kernel Build Reports Mailman List, linaro-kernel,
	Linux-Next Mailing List, Linux ARM, linux-arm-msm,
	open list:GPIO SUBSYSTEM, Bjorn Andersson, linux-kernel,
	Mark Brown

On Mon, Feb 4, 2019 at 10:58 AM Brian Masney <masneyb@onstation.org> wrote:

> Select IRQ_DOMAIN_HIERARCHY for spmi-gpio in Kconfig since this driver
> is now setup as a hierarchical IRQ chip.
>
> Signed-off-by: Brian Masney <masneyb@onstation.org>
> ---
> Changes since v1:
> - None

Patch applied!

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-04 10:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04  9:58 [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Brian Masney
2019-02-04  9:58 ` [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig Brian Masney
2019-02-04 10:04   ` Linus Walleij
2019-02-04 10:03 ` [PATCH v2 -next 1/2] genirq: export irq_chip_set_wake_parent symbol Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).