提交 b3da97ee 编写于 作者: M Masahiro Yamada 提交者: Linus Walleij

pinctrl: use "const struct ..." rather than "struct ... const"

Only this member, pins, is defined as "struct ... const *", but the
others in this struct, pinlops, pmxops, confops, etc. are defined as
"const struct ... *".

Swap the "struct pinctrl_pin_desc" and "const" for consistency.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 5fbf65d5
...@@ -127,7 +127,7 @@ struct pinctrl_ops { ...@@ -127,7 +127,7 @@ struct pinctrl_ops {
*/ */
struct pinctrl_desc { struct pinctrl_desc {
const char *name; const char *name;
struct pinctrl_pin_desc const *pins; const struct pinctrl_pin_desc *pins;
unsigned int npins; unsigned int npins;
const struct pinctrl_ops *pctlops; const struct pinctrl_ops *pctlops;
const struct pinmux_ops *pmxops; const struct pinmux_ops *pmxops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册