From: Masahiro Yamada Date: Fri, 15 May 2015 03:31:38 +0000 (+0900) Subject: pinctrl: zynq: add static to platform_driver remove callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ceb41ad1d7521f6fefe2f2f86aeda6727d9736f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git pinctrl: zynq: add static to platform_driver remove callback This function is only referenced in this file. Signed-off-by: Masahiro Yamada Reviewed-by: Sören Brinkmann Signed-off-by: Linus Walleij --- diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c index af726b906656..d66f64ce404a 100644 --- a/drivers/pinctrl/pinctrl-zynq.c +++ b/drivers/pinctrl/pinctrl-zynq.c @@ -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);