summaryrefslogtreecommitdiff
path: root/include/linux/mfd/axp20x.h
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2018-03-29 12:31:13 +0800
committerLee Jones <lee.jones@linaro.org>2018-05-16 09:21:48 +0100
commit531a469ead6ad1e79e8c84ffd4787c0747336e5a (patch)
treea8ca5779ac5f8e491a73009b8f16d45b81d325e5 /include/linux/mfd/axp20x.h
parentb16d23931b7ee5acf17432c3a6b5c6edb204aa35 (diff)
mfd: axp20x: Constify struct mfd_cell and struct resource
The axp20x driver has lots of mfd_cell and resource structs. These can all be const-ified. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/axp20x.h')
-rw-r--r--include/linux/mfd/axp20x.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h
index 82bf7747b312..a2489363a998 100644
--- a/include/linux/mfd/axp20x.h
+++ b/include/linux/mfd/axp20x.h
@@ -642,7 +642,7 @@ struct axp20x_dev {
struct regmap_irq_chip_data *regmap_irqc;
long variant;
int nr_cells;
- struct mfd_cell *cells;
+ const struct mfd_cell *cells;
const struct regmap_config *regmap_cfg;
const struct regmap_irq_chip *regmap_irq_chip;
};