summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/devicetree.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2020-04-01 07:19:04 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-04-01 09:01:39 +0300
commit33dd888263199676946f1c789e821d39a9a79d98 (patch)
tree6216280118f7be047e3afb7311bc2b7e97c926d4 /drivers/pinctrl/devicetree.c
parente45ee71ae101bd271c3cd951cf66341dc8f504a0 (diff)
downloadlinux-33dd888263199676946f1c789e821d39a9a79d98.tar.xz
gpio: export of_pinctrl_get to modules
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/r/20200401151904.6948af20@canb.auug.org.au Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/devicetree.c')
-rw-r--r--drivers/pinctrl/devicetree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/devicetree.c b/drivers/pinctrl/devicetree.c
index 9357f7c46cf3..01f71258f727 100644
--- a/drivers/pinctrl/devicetree.c
+++ b/drivers/pinctrl/devicetree.c
@@ -103,6 +103,7 @@ struct pinctrl_dev *of_pinctrl_get(struct device_node *np)
{
return get_pinctrl_dev_from_of_node(np);
}
+EXPORT_SYMBOL_GPL(of_pinctrl_get);
static int dt_to_map_one_config(struct pinctrl *p,
struct pinctrl_dev *hog_pctldev,