summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-ingenic.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-05 12:11:37 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-10-09 23:01:48 +0200
commit161ef8b34dd556b1b635de8217f84f6d8ea94990 (patch)
tree45f4e056a40344561c1c7f58469efa271119765d /drivers/pinctrl/pinctrl-ingenic.c
parentMAINTAINERS: Add git repository to Renesas pinctrl driver section (diff)
downloadlinux-161ef8b34dd556b1b635de8217f84f6d8ea94990.tar.xz
linux-161ef8b34dd556b1b635de8217f84f6d8ea94990.zip
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: Colin Ian King <colin.king@canonical.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ingenic.c')
-rw-r--r--drivers/pinctrl/pinctrl-ingenic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c
index d84761822243..372ddf386bdb 100644
--- a/drivers/pinctrl/pinctrl-ingenic.c
+++ b/drivers/pinctrl/pinctrl-ingenic.c
@@ -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 ingenic_pinctrl *jzpc;