提交 0151546f 编写于 作者: M Mark Brown

regulator: Constify constraints name

There's no need for the API to modify it and having it const makes it
easier to use with random strings the board code has.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 d1685e4e
......@@ -95,7 +95,7 @@ struct regulator_state {
*/
struct regulation_constraints {
char *name;
const char *name;
/* voltage output range (inclusive) - for voltage control */
int min_uV;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册