提交 63c73b05 编写于 作者: V Vladimir Zapolskiy 提交者: Mark Brown

regmap: irq: allow to register one cell interrupt controllers

The change makes possible to use regmap-irq interface within drivers
of simple interrupt controllers, which don't have an option to handle
different interrupt types and thus have one cell interrupt controllers
described in device tree bindings.
Signed-off-by: NVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 2ea659a9
......@@ -394,7 +394,7 @@ static int regmap_irq_map(struct irq_domain *h, unsigned int virq,
static const struct irq_domain_ops regmap_domain_ops = {
.map = regmap_irq_map,
.xlate = irq_domain_xlate_twocell,
.xlate = irq_domain_xlate_onetwocell,
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册