summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/uniphier/pinctrl-uniphier.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-12-14 11:44:46 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-12-21 13:18:08 +0300
commit8b78de956f31c5f210d190766cd23b9f1f6a8ee6 (patch)
tree5fda8fbf9503ce437b8585b0bfa076f6aa60f188 /drivers/pinctrl/uniphier/pinctrl-uniphier.h
parentb5af33df50e91f7c79c050ec73062577b9d0dae3 (diff)
downloadlinux-8b78de956f31c5f210d190766cd23b9f1f6a8ee6.tar.xz
pinctrl: uniphier: constify uniphier_pinctrl_socdata
These are constant data. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/uniphier/pinctrl-uniphier.h')
-rw-r--r--drivers/pinctrl/uniphier/pinctrl-uniphier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier.h b/drivers/pinctrl/uniphier/pinctrl-uniphier.h
index 3b30ca023605..24976473307e 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier.h
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier.h
@@ -181,7 +181,7 @@ struct uniphier_pinctrl_socdata {
}
int uniphier_pinctrl_probe(struct platform_device *pdev,
- struct uniphier_pinctrl_socdata *socdata);
+ const struct uniphier_pinctrl_socdata *socdata);
extern const struct dev_pm_ops uniphier_pinctrl_pm_ops;