irqchip/dw-apb-ictl: Support building as module
authorJisheng Zhang <jszhang@kernel.org>
Fri, 14 Jun 2024 15:34:49 +0000 (23:34 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 17:49:44 +0000 (19:49 +0200)
commit7cc4f309c933ec5d64eea31066fe86bbf9e48819
tree0df0c738ea92205f1ed5435253abc0f1065d4591
parentef7080bd30bab81a1c4dd7c0afd942d2ab43081d
irqchip/dw-apb-ictl: Support building as module

The driver is now always built in. In some synaptics ARM64 SoCs it is used
as a second level interrupt controller hanging off the ARM GIC and is
therefore loadable during boot.

Enable it to be built as a module and handle built-in usage correctly, so
that it continues working on systems where it is the main interrupt
controller.

[ tglx: Massage changelog ]

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240614153449.2083-1-jszhang@kernel.org
drivers/irqchip/Kconfig
drivers/irqchip/irq-dw-apb-ictl.c