irqchip/irq-imx-gpcv2: Add IRQCHIP_DECLARE for i.MX8MQ compatible
authorLucas Stach <l.stach@pengutronix.de>
Fri, 14 Dec 2018 12:15:28 +0000 (13:15 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 18 Dec 2018 12:59:18 +0000 (12:59 +0000)
The GPC node on i.MX8MQ can not claim to be compatible with the i.MX7D
GPC, as the power gating part has some significant differences. Thus we
can not rely on the irqchip being probed with the old compatible.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-imx-gpcv2.c

index d13269c9effc3dc5f565cda5e1d01d48a8c07a76..66501ea4fd7548d96ae0eb4bcf77fb915198ad18 100644 (file)
@@ -290,4 +290,5 @@ static int __init imx_gpcv2_irqchip_init(struct device_node *node,
        return 0;
 }
 
-IRQCHIP_DECLARE(imx_gpcv2, "fsl,imx7d-gpc", imx_gpcv2_irqchip_init);
+IRQCHIP_DECLARE(imx_gpcv2_imx7d, "fsl,imx7d-gpc", imx_gpcv2_irqchip_init);
+IRQCHIP_DECLARE(imx_gpcv2_imx8mq, "fsl,imx8mq-gpc", imx_gpcv2_irqchip_init);