diff options
author | Krzysztof Kozlowski <k.kozlowski.k@gmail.com> | 2015-04-27 14:54:13 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-06-22 13:25:01 +0200 |
commit | 7ce7b26f84cfcbcb04f526f56f685a56ccddf355 (patch) | |
tree | 33c78fde9eee73e24ec91e1f98051eb9909d5b91 /drivers/mfd/da9150-core.c | |
parent | Merge branches 'ib-mfd-watchdog-rtc-4.2', 'ib-mfd-regulator-4.2' and 'ib-mfd-... (diff) | |
download | linux-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.tar.xz linux-7ce7b26f84cfcbcb04f526f56f685a56ccddf355.zip |
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 'drivers/mfd/da9150-core.c')
-rw-r--r-- | drivers/mfd/da9150-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/da9150-core.c b/drivers/mfd/da9150-core.c index 5549817df32e..94b9bbd1a69b 100644 --- a/drivers/mfd/da9150-core.c +++ b/drivers/mfd/da9150-core.c @@ -164,7 +164,7 @@ void da9150_bulk_write(struct da9150 *da9150, u16 reg, int count, const u8 *buf) } EXPORT_SYMBOL_GPL(da9150_bulk_write); -static struct regmap_irq da9150_irqs[] = { +static const struct regmap_irq da9150_irqs[] = { [DA9150_IRQ_VBUS] = { .reg_offset = 0, .mask = DA9150_E_VBUS_MASK, @@ -251,7 +251,7 @@ static struct regmap_irq da9150_irqs[] = { }, }; -static struct regmap_irq_chip da9150_regmap_irq_chip = { +static const struct regmap_irq_chip da9150_regmap_irq_chip = { .name = "da9150_irq", .status_base = DA9150_EVENT_E, .mask_base = DA9150_IRQ_MASK_E, |