regulator: Constify the pointer to alias name array

Toughen-up checks for read-only regulator names.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Lee Jones 2014-05-23 16:44:10 +01:00 committed by Mark Brown
parent c9eaa447e7
commit 9f8c0fe954
4 changed files with 28 additions and 23 deletions

View file

@ -63,7 +63,7 @@ struct mfd_cell {
/* A list of regulator supplies that should be mapped to the MFD
* device rather than the child device when requested
*/
const char **parent_supplies;
const char * const *parent_supplies;
int num_parent_supplies;
};