Commit 920ecb8c authored by Saravana Kannan's avatar Saravana Kannan Committed by Marc Zyngier

irqchip/mtk-cirq: Convert to a platform driver

This driver can work as a platform driver. So covert it to a platform
driver.
Signed-off-by: default avatarSaravana Kannan <saravanak@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Reviewed-by: default avatarHanks Chen <hanks.chen@mediatek.com>
Link: https://lore.kernel.org/r/20200718000637.3632841-5-saravanak@google.com
parent f97dbf48
...@@ -295,4 +295,6 @@ static int __init mtk_cirq_of_init(struct device_node *node, ...@@ -295,4 +295,6 @@ static int __init mtk_cirq_of_init(struct device_node *node,
return ret; return ret;
} }
IRQCHIP_DECLARE(mtk_cirq, "mediatek,mtk-cirq", mtk_cirq_of_init); IRQCHIP_PLATFORM_DRIVER_BEGIN(mtk_cirq)
IRQCHIP_MATCH("mediatek,mtk-cirq", mtk_cirq_of_init)
IRQCHIP_PLATFORM_DRIVER_END(mtk_cirq)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment