diff options
author | Saravana Kannan <saravanak@google.com> | 2020-07-17 17:06:37 -0700 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-27 08:55:04 +0100 |
commit | 920ecb8c35cb2e114858606c9a17e8e679a25454 (patch) | |
tree | 792644f1697dac168571fc97a1784ce8bcfeae05 | |
parent | f97dbf48ca43009e8b8bcdf07f47fc9f06149b36 (diff) |
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: Saravana Kannan <saravanak@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Hanks Chen <hanks.chen@mediatek.com>
Link: https://lore.kernel.org/r/20200718000637.3632841-5-saravanak@google.com
-rw-r--r-- | drivers/irqchip/irq-mtk-cirq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-mtk-cirq.c b/drivers/irqchip/irq-mtk-cirq.c index 69ba8ce3c178..62a61275aaa3 100644 --- a/drivers/irqchip/irq-mtk-cirq.c +++ b/drivers/irqchip/irq-mtk-cirq.c @@ -295,4 +295,6 @@ out_free: 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) |