diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-05-22 15:25:50 +0900 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-06-01 15:48:12 +0200 |
commit | b3da97ee581387cd42dafd76eb2ac23f2335cd92 (patch) | |
tree | 748d517be49049b8c16c389b914c46c535c17a7f /include/linux/pinctrl/pinctrl.h | |
parent | 5fbf65d5c9c0fd2e5c6c48d69ce34b1c5415f2fd (diff) | |
download | linux-stable-b3da97ee581387cd42dafd76eb2ac23f2335cd92.tar.gz linux-stable-b3da97ee581387cd42dafd76eb2ac23f2335cd92.tar.bz2 linux-stable-b3da97ee581387cd42dafd76eb2ac23f2335cd92.zip |
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/pinctrl.h')
-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 { */ struct pinctrl_desc { const char *name; - struct pinctrl_pin_desc const *pins; + const struct pinctrl_pin_desc *pins; unsigned int npins; const struct pinctrl_ops *pctlops; const struct pinmux_ops *pmxops; |