aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-05 11:10:15 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-05 11:13:31 -0500
commit209a600623cf13a8168b2f6b83643db7825abb9a (patch)
tree4e18c677d51bbdf6fc8771ca13b38c74431f1e4a /include/linux/regmap.h
parentd23511f9590870effa5ace575b59aac18c47175f (diff)
regmap: Add irq_base accessor to regmap_irq
Allows devices to discover their own interrupt without having to remember it themselves. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index bd54cecdfdf8..e7e8953e8c2a 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -190,5 +190,6 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
190 int irq_base, struct regmap_irq_chip *chip, 190 int irq_base, struct regmap_irq_chip *chip,
191 struct regmap_irq_chip_data **data); 191 struct regmap_irq_chip_data **data);
192void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); 192void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data);
193int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data);
193 194
194#endif 195#endif