diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-31 16:01:46 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-03 08:16:51 -0400 |
commit | b026ddbbd25e3560c8d69beb96a5980d96c59b43 (patch) | |
tree | fd3bf714e9cf31e8d995079d701893f634bbe884 /include/linux/regmap.h | |
parent | 6a55244e897d32952832a67cb35cfbfa3f722c50 (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.h | 2 |
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 { | |||
268 | struct regmap_irq_chip_data; | 268 | struct regmap_irq_chip_data; |
269 | 269 | ||
270 | int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, | 270 | int 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); |
273 | void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); | 273 | void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); |
274 | int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data); | 274 | int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data); |