pinctrl: zynq: add static to platform_driver remove callback
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 15 May 2015 03:31:38 +0000 (12:31 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 May 2015 14:01:30 +0000 (16:01 +0200)
This function is only referenced in this file.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-zynq.c

index af726b906656234ea8814409c39d94c03ba5545e..d66f64ce404a96cd22d1526ccfed4d9216b31892 100644 (file)
@@ -1205,7 +1205,7 @@ static int zynq_pinctrl_probe(struct platform_device *pdev)
        return 0;
 }
 
-int zynq_pinctrl_remove(struct platform_device *pdev)
+static int zynq_pinctrl_remove(struct platform_device *pdev)
 {
        struct zynq_pinctrl *pctrl = platform_get_drvdata(pdev);