Skip to content

Commit

Permalink
pinctrl: core: Add missing EXPORT on pinctrl_register_mappings
Browse files Browse the repository at this point in the history
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: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Richard Fitzgerald authored and Linus Walleij committed Mar 2, 2018
1 parent 55af415 commit 8b1b2dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pinctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1416,6 +1416,7 @@ int pinctrl_register_mappings(const struct pinctrl_map *maps,
{
return pinctrl_register_map(maps, num_maps, true);
}
EXPORT_SYMBOL_GPL(pinctrl_register_mappings);

void pinctrl_unregister_map(const struct pinctrl_map *map)
{
Expand Down

0 comments on commit 8b1b2dc

Please sign in to comment.