mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2ea659a9ef
commit
63c73b059c
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue