diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-10-20 21:48:52 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-20 22:06:33 +0300 |
commit | c057c799e379f940b0e14dc83f96540a4c27730a (patch) | |
tree | 0baa04cdb76a8ecbd1951ec438438f36bcdf4fb0 /drivers/irqchip/irq-bcm7038-l1.c | |
parent | 3578fd47137c405b6fb9f90e2e6d1654c71f5e1e (diff) | |
download | linux-c057c799e379f940b0e14dc83f96540a4c27730a.tar.xz |
irqchip/irq-bcm7038-l1: Switch to IRQCHIP_PLATFORM_DRIVER
Allow the user selection and building of this interrupt controller
driver as a module since it is used on ARM/ARM64 based systems as a
second level interrupt controller hanging off the ARM GIC and is
therefore loadable during boot.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211020184859.2705451-7-f.fainelli@gmail.com
Diffstat (limited to 'drivers/irqchip/irq-bcm7038-l1.c')
-rw-r--r-- | drivers/irqchip/irq-bcm7038-l1.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 357570dd8780..a62b96237b82 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c @@ -455,4 +455,8 @@ out_free: return ret; } -IRQCHIP_DECLARE(bcm7038_l1, "brcm,bcm7038-l1-intc", bcm7038_l1_of_init); +IRQCHIP_PLATFORM_DRIVER_BEGIN(bcm7038_l1) +IRQCHIP_MATCH("brcm,bcm7038-l1-intc", bcm7038_l1_of_init) +IRQCHIP_PLATFORM_DRIVER_END(bcm7038_l1) +MODULE_DESCRIPTION("Broadcom STB 7038-style L1/L2 interrupt controller"); +MODULE_LICENSE("GPL v2"); |