irqchip: Revert modular support for drivers using IRQCHIP_PLATFORM_DRIVER helperse
authorMarc Zyngier <maz@kernel.org>
Tue, 25 Aug 2020 09:38:39 +0000 (10:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 25 Aug 2020 09:48:54 +0000 (10:48 +0100)
commita150dac5a8fb711fdc378c23f44bee4546f04246
tree35f14827291550c711217d04dedab847314ab5dd
parent7828a3ef8646fb2e69ed45616c8453a037ca7867
irqchip: Revert modular support for drivers using IRQCHIP_PLATFORM_DRIVER helperse

It has become obvious that switching a number of irqchip drivers
to being platform drivers without considering the platform was a
mistake. We have multiple reports of end-point drivers not
probing because the irqchip driver isn't there yet, breaking
the expectations of the users.

This patch reverts:

920ecb8c35cb ("irqchip/mtk-cirq: Convert to a platform driver")
f97dbf48ca43 ("irqchip/mtk-sysirq: Convert to a platform driver")
5be57099d445 ("irqchip/qcom-pdc: Switch to using IRQCHIP_PLATFORM_DRIVER helper macros")
95bf9305d2e3 ("irqchip/qcom-pdc: Allow QCOM_PDC to be loadable as a permanent module")

and leave QCOM PDC, MTK sysrq and cirq drivers as built-in, special purpose
drivers for the time being until we have worked out a better solution.

Reported-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reported-by: Frank Wunderlich <linux@fw-web.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/93debe6a0308b66d3f307af67ba7ec2c@kernel.org
drivers/irqchip/Kconfig
drivers/irqchip/irq-mtk-cirq.c
drivers/irqchip/irq-mtk-sysirq.c
drivers/irqchip/qcom-pdc.c