diff options
| author | Lee Jones <lee.jones@linaro.org> | 2014-05-23 11:44:10 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2014-05-23 13:55:23 -0400 |
| commit | 9f8c0fe9542141fd0008d5c0f6ae365890f6da94 (patch) | |
| tree | 82537978d790be97aa3c32af2762af1c04e37f36 /include/linux/mfd | |
| parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) | |
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')
| -rw-r--r-- | include/linux/mfd/core.h | 2 |
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 { | |||
| 63 | /* A list of regulator supplies that should be mapped to the MFD | 63 | /* A list of regulator supplies that should be mapped to the MFD |
| 64 | * device rather than the child device when requested | 64 | * device rather than the child device when requested |
| 65 | */ | 65 | */ |
| 66 | const char **parent_supplies; | 66 | const char * const *parent_supplies; |
| 67 | int num_parent_supplies; | 67 | int num_parent_supplies; |
| 68 | }; | 68 | }; |
| 69 | 69 | ||
