diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-31 21:01:46 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-03 13:16:51 +0100 |
commit | b026ddbbd25e3560c8d69beb96a5980d96c59b43 (patch) | |
tree | fd3bf714e9cf31e8d995079d701893f634bbe884 /include/linux/regmap.h | |
parent | 6a55244e897d32952832a67cb35cfbfa3f722c50 (diff) | |
download | lwn-b026ddbbd25e3560c8d69beb96a5980d96c59b43.tar.gz lwn-b026ddbbd25e3560c8d69beb96a5980d96c59b43.zip |
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 { struct regmap_irq_chip_data; int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags, - int irq_base, struct regmap_irq_chip *chip, + int irq_base, const struct regmap_irq_chip *chip, struct regmap_irq_chip_data **data); void regmap_del_irq_chip(int irq, struct regmap_irq_chip_data *data); int regmap_irq_chip_get_base(struct regmap_irq_chip_data *data); |