Skip to content

Commit

Permalink
regmap: irq: allow to register one cell interrupt controllers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vladimir Zapolskiy authored and Mark Brown committed Jun 9, 2017
1 parent 2ea659a commit 63c73b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/base/regmap/regmap-irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

/**
Expand Down

0 comments on commit 63c73b0

Please sign in to comment.