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
This commit is contained in:
parent
3578fd4713
commit
c057c799e3
@ -115,7 +115,9 @@ config BCM6345_L1_IRQ
|
|||||||
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
|
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
|
||||||
|
|
||||||
config BCM7038_L1_IRQ
|
config BCM7038_L1_IRQ
|
||||||
bool
|
tristate "Broadcom STB 7038-style L1/L2 interrupt controller driver"
|
||||||
|
depends on ARCH_BRCMSTB || BMIPS_GENERIC
|
||||||
|
default ARCH_BRCMSTB || BMIPS_GENERIC
|
||||||
select GENERIC_IRQ_CHIP
|
select GENERIC_IRQ_CHIP
|
||||||
select IRQ_DOMAIN
|
select IRQ_DOMAIN
|
||||||
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
|
select GENERIC_IRQ_EFFECTIVE_AFF_MASK
|
||||||
|
@ -455,4 +455,8 @@ out_free:
|
|||||||
return ret;
|
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");
|
||||||
|
Loading…
Reference in New Issue
Block a user