Commit 43913e5e authored by Mark Brown's avatar Mark Brown

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 34697898
...@@ -23,7 +23,7 @@ struct wm8994_ldo_pdata { ...@@ -23,7 +23,7 @@ struct wm8994_ldo_pdata {
int enable; int enable;
const char *supply; const char *supply;
struct regulator_init_data *init_data; const struct regulator_init_data *init_data;
}; };
#define WM8994_CONFIGURE_GPIO 0x10000 #define WM8994_CONFIGURE_GPIO 0x10000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment