git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mfd: axp20x: Constify struct mfd_cell and struct resource
[sfrench/cifs-2.6.git]
/
include
/
linux
/
mfd
/
axp20x.h
diff --git
a/include/linux/mfd/axp20x.h
b/include/linux/mfd/axp20x.h
index 82bf7747b312be46f834125d52cdd5fd0109ca84..a2489363a998b6346eefc6d24b2b78bac15f67d7 100644
(file)
--- 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;
};