diff options
author | Saravana Kannan <saravanak@google.com> | 2020-07-18 02:06:37 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-07-27 09:55:04 +0200 |
commit | 920ecb8c35cb2e114858606c9a17e8e679a25454 (patch) | |
tree | 792644f1697dac168571fc97a1784ce8bcfeae05 /drivers/irqchip/irq-mtk-cirq.c | |
parent | irqchip/mtk-sysirq: Convert to a platform driver (diff) | |
download | linux-920ecb8c35cb2e114858606c9a17e8e679a25454.tar.xz linux-920ecb8c35cb2e114858606c9a17e8e679a25454.zip |
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
Diffstat (limited to 'drivers/irqchip/irq-mtk-cirq.c')
-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) |