pinctrl: core: Add missing EXPORT on pinctrl_register_mappings
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Fri, 23 Feb 2018 13:43:52 +0000 (13:43 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 2 Mar 2018 10:05:35 +0000 (11:05 +0100)
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>
drivers/pinctrl/core.c

index 343981c..e5a3030 100644 (file)
@@ -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)
 {