summaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-28 22:48:14 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-12 20:11:19 +0400
commit43913e5ef9e9e05141418577523456e6b23777eb (patch)
treed0a4fbce6a47ce91ba88ca5e7f6f9c36ff6582d8 /include/linux/mfd
parent346978980a781a5b434c48531cf29cadf5b83999 (diff)
downloadlinux-43913e5ef9e9e05141418577523456e6b23777eb.tar.xz
mfd: Constify WM8994 regulator_init_data
The driver has no need to modify the regulator_init_data so declare it const to allow machine code to do so. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/wm8994/pdata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/wm8994/pdata.h b/include/linux/mfd/wm8994/pdata.h
index 54e2fef587d5..b00897a6c461 100644
--- a/include/linux/mfd/wm8994/pdata.h
+++ b/include/linux/mfd/wm8994/pdata.h
@@ -23,7 +23,7 @@ struct wm8994_ldo_pdata {
int enable;
const char *supply;
- struct regulator_init_data *init_data;
+ const struct regulator_init_data *init_data;
};
#define WM8994_CONFIGURE_GPIO 0x10000