irqchip: Allow extra fields to be passed to IRQCHIP_PLATFORM_DRIVER_END
authorFrank Li <Frank.Li@nxp.com>
Thu, 22 Sep 2022 16:12:42 +0000 (11:12 -0500)
committerMarc Zyngier <maz@kernel.org>
Wed, 28 Sep 2022 13:21:53 +0000 (14:21 +0100)
commit334f7d42db3eb0274aa6b4aba7ce14d87df3fef0
treefe1c5fb1c4dc3a30604d8859fea5a407915ec1b1
parentaecd1de3b1438cc4ead086a025fb49a3a896d615
irqchip: Allow extra fields to be passed to IRQCHIP_PLATFORM_DRIVER_END

IRQCHIP_PLATFORM_DRIVER_* doesn't allow some fields (such as .pm)
to be set in the platform_driver structure.

Make IRQCHIP_PLATFORM_DRIVER_END variadic so that .pm or another
field can be set if needed.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
[maz: revamped commit message]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220922161246.20586-3-Frank.Li@nxp.com
include/linux/irqchip.h