diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-22 02:25:50 -0400 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-01 09:48:12 -0400 |
| commit | b3da97ee581387cd42dafd76eb2ac23f2335cd92 (patch) | |
| tree | 748d517be49049b8c16c389b914c46c535c17a7f /include/linux/pinctrl | |
| parent | 5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd (diff) | |
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: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/pinctrl')
| -rw-r--r-- | include/linux/pinctrl/pinctrl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pinctrl/pinctrl.h b/include/linux/pinctrl/pinctrl.h index 66e4697516de..9ba59fcba549 100644 --- a/include/linux/pinctrl/pinctrl.h +++ b/include/linux/pinctrl/pinctrl.h | |||
| @@ -127,7 +127,7 @@ struct pinctrl_ops { | |||
| 127 | */ | 127 | */ |
| 128 | struct pinctrl_desc { | 128 | struct pinctrl_desc { |
| 129 | const char *name; | 129 | const char *name; |
| 130 | struct pinctrl_pin_desc const *pins; | 130 | const struct pinctrl_pin_desc *pins; |
| 131 | unsigned int npins; | 131 | unsigned int npins; |
| 132 | const struct pinctrl_ops *pctlops; | 132 | const struct pinctrl_ops *pctlops; |
| 133 | const struct pinmux_ops *pmxops; | 133 | const struct pinmux_ops *pmxops; |
