Skip to content
Commit e2c1b0ff authored by Saravana Kannan's avatar Saravana Kannan Committed by Shawn Guo
Browse files

ARM: imx: avic: Convert to using IRQCHIP_DECLARE



Using IRQCHIP_DECLARE lets fw_devlink know that it should not wait for
these interrupt controllers to be populated as struct devices. Without
this change, fw_devlink=on will make the consumers of these interrupt
controllers wait for the struct device to be added and thereby block the
consumers' probes forever. Converting to IRQCHIP_DECLARE addresses boot
issues on imx25 with fw_devlink=on that were reported by Martin.

This also removes a lot of boilerplate code.

Fixes: e5904747 ("driver core: Set fw_devlink=on by default")
Reported-by: default avatarMartin Kaiser <martin@kaiser.cx>
Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Tested-by: default avatarMartin Kaiser <martin@kaiser.cx>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent a38fd874
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment