summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinconf-generic.c
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang7@gmail.com>2020-02-27 05:13:46 +0100
committerLinus Walleij <linus.walleij@linaro.org>2020-02-29 00:25:01 +0100
commitb88d145191ad02b865c601ff87c2c685ca11a20a (patch)
tree8c049be36921903a966b094090eb5d29583fca4d /drivers/pinctrl/pinconf-generic.c
parentpinctrl: da9062: Fix error gpiolib.h path (diff)
downloadlinux-b88d145191ad02b865c601ff87c2c685ca11a20a.tar.xz
linux-b88d145191ad02b865c601ff87c2c685ca11a20a.zip
pinctrl: Export some needed symbols at module load time
Export the pin_get_name()/pinconf_generic_parse_dt_config() symbols needed by the Spreadtrum pinctrl driver when building it as a module. Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/f4e7e20afacb23e6fa7a6b33ea4319b2b3492840.1582776447.git.baolin.wang7@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinconf-generic.c')
-rw-r--r--drivers/pinctrl/pinconf-generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index 9eb86309c70b..dfef471201f6 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -286,6 +286,7 @@ out:
kfree(cfg);
return ret;
}
+EXPORT_SYMBOL_GPL(pinconf_generic_parse_dt_config);
int pinconf_generic_dt_subnode_to_map(struct pinctrl_dev *pctldev,
struct device_node *np, struct pinctrl_map **map,