提交 161ef8b3 编写于 作者: C Colin Ian King 提交者: Linus Walleij

pinctrl: ingenic: make function ingenic_pinctrl_probe static

The function ingenic_pinctrl_probe is local to the source and does
not need to be in global scope, so make it static.

Cleans up sparse warnings
symbol 'ingenic_pinctrl_probe' was not declared. Should it be static?
Signed-off-by: NColin Ian King <colin.king@canonical.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 db375dbf
...@@ -717,7 +717,7 @@ static const struct of_device_id ingenic_pinctrl_of_match[] = { ...@@ -717,7 +717,7 @@ static const struct of_device_id ingenic_pinctrl_of_match[] = {
{}, {},
}; };
int ingenic_pinctrl_probe(struct platform_device *pdev) static int ingenic_pinctrl_probe(struct platform_device *pdev)
{ {
struct device *dev = &pdev->dev; struct device *dev = &pdev->dev;
struct ingenic_pinctrl *jzpc; struct ingenic_pinctrl *jzpc;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册