summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-09-20 12:42:21 -0300
committerLinus Walleij <linus.walleij@linaro.org>2018-09-20 15:45:14 -0700
commitc98b0d2db7d7256bb1db5d2726c75b9d0881bddc (patch)
tree5f1714e22746263490ac5e7ecb7dbe7203d2700f
parenta65fbff275b9be2793191f04e195ba06d706c64f (diff)
downloadlinux-c98b0d2db7d7256bb1db5d2726c75b9d0881bddc.tar.gz
linux-c98b0d2db7d7256bb1db5d2726c75b9d0881bddc.tar.bz2
linux-c98b0d2db7d7256bb1db5d2726c75b9d0881bddc.zip
pinctrl: mxs: do not export mxs_pinctrl_probe
No user of mxs_pinctrl_probe() can be built as a module, hence exporting the symbol is not necessary. Drop EXPORT_SYMBOL_GPL. Inspired by a patch from Stefan Agner for the tegra pinctrl driver. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--drivers/pinctrl/freescale/pinctrl-mxs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/freescale/pinctrl-mxs.c b/drivers/pinctrl/freescale/pinctrl-mxs.c
index a612e46ca51c..641b3088876f 100644
--- a/drivers/pinctrl/freescale/pinctrl-mxs.c
+++ b/drivers/pinctrl/freescale/pinctrl-mxs.c
@@ -556,4 +556,3 @@ err:
iounmap(d->base);
return ret;
}
-EXPORT_SYMBOL_GPL(mxs_pinctrl_probe);