mirror of
https://github.com/analogdevicesinc/linux.git
synced 2026-05-30 00:55:04 +08:00
This patch ensures that xilinx_intc_of_init API is not allocated into the .init.text section. Since this API calls the API set_handle_irq which uses __init macro to be put into .init.text section, this patch makes changes to ensure that set_handle_irq also does not stay in .init.text section. This patch is in preparation for the patch through which the xilinx intc driver will be loaded and unloaded as a module. Existing irqchip infra does not support use cases where an irqchip driver can be loaded as a module as part of loading of a device tree overlay. Experimental support for the same is being added through a irqchip kconfig option. Signed-off-by: Anirudha Sarangi <anirudha.sarangi@xilinx.com> Signed-off-by: Mubin Usman Sayyed <mubin.usman.sayyed@xilinx.com> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com> State: pending [michals: Squashed with irqchip: xilinx: Add support to remove Xilinx INTC irqchip driver module irqchip: xilinx: Add support to remove the Xilinx INTC driver module Fix compilation error due to strict checking added to IRQCHIP_MACRO by f1985002839a(irqchip: Provide stronger type checking for IRQCHIP_MATCH/ IRQCHIP_DECLARE) irqchip: xilinx: in xilinx_intc_of_remove() use correct irq_domain member v6.12 update irqchip: xilinx: Fix crash for repeated load/unload of INTC module Fix void remove() ]