Skip to contentSkip to conversation

genirq: export irq_chip_set_wake_parent symbol

PATCH In review Brian Masney 2 participants 4 messages Feb 4, 2019

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 genirq: export irq_chip_set_wake_parent symbol

Export the irq_chip_set_wake_parent symbol so that drivers with hierarchical IRQ chips can be built as a module.

---
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(+)
kernel/irq/chip.c +1 -0
index 34e969069488..086d5a34b5a0 100644
@@ -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
 
 /**
Signature · 1 line
2.17.2
#1 lore raw

PATCH v2 2/2 pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig

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

---
Changes since v1:
- None

 drivers/pinctrl/qcom/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/pinctrl/qcom/Kconfig +1 -0
index 836e9f3eae4c..93efbffcd3a4 100644
@@ -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,
Signature · 1 line
2.17.2
#2 lore raw

Re: [PATCH v2 -next 2/2] pinctrl: qcom: spmi-gpio: select IRQ_DOMAIN_HIERARCHY in Kconfig

Quoted 7 lines · Brian Masney

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

---
Changes since v1:
- None

Patch applied!

Yours,
Linus Walleij

#3 lore raw
In reply to Brian Masney
Quoted 6 lines · Brian Masney

Export the irq_chip_set_wake_parent symbol so that drivers with hierarchical IRQ chips can be built as a module.

Quoted 8 lines

---
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