mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-14 04:41:26 +00:00
irqchip/renesas-intc-irqpin: Use proper irq_chip name and parent
The irq_chip .name field should contain the device's class (not instance) name, while .parent_device should point to the device itself. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
c64a9e804c
commit
ec93b94ac1
@ -508,7 +508,8 @@ static int intc_irqpin_probe(struct platform_device *pdev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
irq_chip = &p->irq_chip;
|
irq_chip = &p->irq_chip;
|
||||||
irq_chip->name = name;
|
irq_chip->name = "intc-irqpin";
|
||||||
|
irq_chip->parent_device = dev;
|
||||||
irq_chip->irq_mask = disable_fn;
|
irq_chip->irq_mask = disable_fn;
|
||||||
irq_chip->irq_unmask = enable_fn;
|
irq_chip->irq_unmask = enable_fn;
|
||||||
irq_chip->irq_set_type = intc_irqpin_irq_set_type;
|
irq_chip->irq_set_type = intc_irqpin_irq_set_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user