summaryrefslogtreecommitdiff
path: root/include/linux/mfd/da9055
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski.k@gmail.com>2015-04-27 21:54:13 +0900
committerLee Jones <lee.jones@linaro.org>2015-06-22 12:25:01 +0100
commit7ce7b26f84cfcbcb04f526f56f685a56ccddf355 (patch)
tree33c78fde9eee73e24ec91e1f98051eb9909d5b91 /include/linux/mfd/da9055
parent79aa79342c70c47a6e55f4865e8154f155109946 (diff)
mfd: Constify regmap and irq configuration data
Constify in various drivers configuration data which is not modified: - regmap_irq_chip, - individual regmap_irq's in array, - regmap_config, - irq_domain_ops, Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@gmail.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/da9055')
-rw-r--r--include/linux/mfd/da9055/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/da9055/core.h b/include/linux/mfd/da9055/core.h
index 956afa445998..5dc743fd63a6 100644
--- a/include/linux/mfd/da9055/core.h
+++ b/include/linux/mfd/da9055/core.h
@@ -89,6 +89,6 @@ static inline int da9055_reg_update(struct da9055 *da9055, unsigned char reg,
int da9055_device_init(struct da9055 *da9055);
void da9055_device_exit(struct da9055 *da9055);
-extern struct regmap_config da9055_regmap_config;
+extern const struct regmap_config da9055_regmap_config;
#endif /* __DA9055_CORE_H */