summaryrefslogtreecommitdiff
path: root/include/linux/mfd/core.h
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-05-23 16:44:10 +0100
committerMark Brown <broonie@linaro.org>2014-05-23 18:55:23 +0100
commit9f8c0fe9542141fd0008d5c0f6ae365890f6da94 (patch)
tree82537978d790be97aa3c32af2762af1c04e37f36 /include/linux/mfd/core.h
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
downloadlwn-9f8c0fe9542141fd0008d5c0f6ae365890f6da94.tar.gz
lwn-9f8c0fe9542141fd0008d5c0f6ae365890f6da94.zip
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>
Diffstat (limited to 'include/linux/mfd/core.h')
-rw-r--r--include/linux/mfd/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mfd/core.h b/include/linux/mfd/core.h
index bdba8c61207b..f543de91ce19 100644
--- a/include/linux/mfd/core.h
+++ b/include/linux/mfd/core.h
@@ -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;
};