diff options
author | Jianmin Lv <lvjianmin@loongson.cn> | 2022-07-20 18:51:23 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-20 12:05:55 +0100 |
commit | d319a299f4066685a787cfb89ad36fd78bb830ed (patch) | |
tree | 5491174a9c01381498789fa509210bca83cbd19f /kernel/irq | |
parent | 744b9a0c3c8334d705dea6af3645ea30d597c360 (diff) | |
download | linux-stable-d319a299f4066685a787cfb89ad36fd78bb830ed.tar.gz linux-stable-d319a299f4066685a787cfb89ad36fd78bb830ed.tar.bz2 linux-stable-d319a299f4066685a787cfb89ad36fd78bb830ed.zip |
genirq/generic_chip: Export irq_unmap_generic_chip
Some irq controllers have to re-implement a private version for
irq_generic_chip_ops, because they have a different xlate to translate
hwirq. Export irq_unmap_generic_chip to allow reusing in drivers.
Signed-off-by: Jianmin Lv <lvjianmin@loongson.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1658314292-35346-5-git-send-email-lvjianmin@loongson.cn
Diffstat (limited to 'kernel/irq')
-rw-r--r-- | kernel/irq/generic-chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/generic-chip.c b/kernel/irq/generic-chip.c index f0862eb6b506..c653cd31548d 100644 --- a/kernel/irq/generic-chip.c +++ b/kernel/irq/generic-chip.c @@ -431,7 +431,7 @@ int irq_map_generic_chip(struct irq_domain *d, unsigned int virq, return 0; } -static void irq_unmap_generic_chip(struct irq_domain *d, unsigned int virq) +void irq_unmap_generic_chip(struct irq_domain *d, unsigned int virq) { struct irq_data *data = irq_domain_get_irq_data(d, virq); struct irq_domain_chip_generic *dgc = d->gc; |