aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/regmap.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-31 16:01:46 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-03 08:16:51 -0400
commitb026ddbbd25e3560c8d69beb96a5980d96c59b43 (patch)
treefd3bf714e9cf31e8d995079d701893f634bbe884 /include/linux/regmap.h
parent6a55244e897d32952832a67cb35cfbfa3f722c50 (diff)
regmap: Constify regmap_irq_chip
We should never be modifying it and it lets drivers declare it const. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regmap.h')
-rw-r--r--include/linux/regmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 26136b577009..f9b624c83464 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -268,7 +268,7 @@ struct regmap_irq_chip {
268struct regmap_irq_chip_data; 268struct regmap_irq_chip_data;
269 269
270int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, 270int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
271 int irq_base, struct regmap_irq_chip *chip, 271 int irq_base, const struct regmap_irq_chip *chip,
272 struct regmap_irq_chip_data **data); 272 struct regmap_irq_chip_data **data);
273void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); 273void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data);
274int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data); 274int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data);