OSDN Git Service

genirq: Introduce irq_domain_translate_onecell
authorYash Shah <yash.shah@sifive.com>
Tue, 10 Dec 2019 11:11:09 +0000 (16:41 +0530)
committerMarc Zyngier <maz@kernel.org>
Mon, 20 Jan 2020 09:19:33 +0000 (09:19 +0000)
commitb01ecceaf2c0c4b3f2d24aa0adcf096ab1648253
treec38b5c376b3f5cd856b3f9e1a50a45b3b29534ae
parentfd6988496e79a6a4bdb514a4655d2920209eb85d
genirq: Introduce irq_domain_translate_onecell

Add a new function irq_domain_translate_onecell() that is to be used as
the translate function in struct irq_domain_ops.

Signed-off-by: Yash Shah <yash.shah@sifive.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1575976274-13487-2-git-send-email-yash.shah@sifive.com
include/linux/irqdomain.h
kernel/irq/irqdomain.c