summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-31 21:01:46 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-03 13:16:51 +0100
commitb026ddbbd25e3560c8d69beb96a5980d96c59b43 (patch)
treefd3bf714e9cf31e8d995079d701893f634bbe884 /include
parent6a55244e897d32952832a67cb35cfbfa3f722c50 (diff)
downloadop-kernel-dev-b026ddbbd25e3560c8d69beb96a5980d96c59b43.zip
op-kernel-dev-b026ddbbd25e3560c8d69beb96a5980d96c59b43.tar.gz
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')
-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 26136b5..f9b624c 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);
OpenPOWER on IntegriCloud