summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/berlin
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-08-04 04:22:31 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-08-14 15:01:02 +0200
commit3f713b7c223ebe5094973ce6e0272bd97363b552 (patch)
tree2c71af1d0d70ae33f5404086101b217f23220dcf /drivers/pinctrl/berlin
parentdt-bindings: pinctrl: mt2712: add binding document (diff)
downloadlinux-3f713b7c223ebe5094973ce6e0272bd97363b552.tar.xz
linux-3f713b7c223ebe5094973ce6e0272bd97363b552.zip
pinctrl: move const qualifier before struct
Update subsystem wide for consistency. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/berlin')
-rw-r--r--drivers/pinctrl/berlin/berlin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c
index 8f0dc02f7624..cc3bd2efafe3 100644
--- a/drivers/pinctrl/berlin/berlin.c
+++ b/drivers/pinctrl/berlin/berlin.c
@@ -206,8 +206,8 @@ static int berlin_pinctrl_add_function(struct berlin_pinctrl *pctrl,
static int berlin_pinctrl_build_state(struct platform_device *pdev)
{
struct berlin_pinctrl *pctrl = platform_get_drvdata(pdev);
- struct berlin_desc_group const *desc_group;
- struct berlin_desc_function const *desc_function;
+ const struct berlin_desc_group *desc_group;
+ const struct berlin_desc_function *desc_function;
int i, max_functions = 0;
pctrl->nfunctions = 0;