Commit 8b1b2dc7 authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Linus Walleij

pinctrl: core: Add missing EXPORT on pinctrl_register_mappings

Systems that don't have devicetree need pinctrl_register_mappings.
It should be EXPORT_SYMBOL_GPL so that it can be called from
pinctrl drivers built as modules.
Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 55af415b
...@@ -1416,6 +1416,7 @@ int pinctrl_register_mappings(const struct pinctrl_map *maps, ...@@ -1416,6 +1416,7 @@ int pinctrl_register_mappings(const struct pinctrl_map *maps,
{ {
return pinctrl_register_map(maps, num_maps, true); return pinctrl_register_map(maps, num_maps, true);
} }
EXPORT_SYMBOL_GPL(pinctrl_register_mappings);
void pinctrl_unregister_map(const struct pinctrl_map *map) void pinctrl_unregister_map(const struct pinctrl_map *map)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment