linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: core: Add missing EXPORT on pinctrl_register_mappings
@ 2018-02-23 13:43 Richard Fitzgerald
  2018-03-02 10:07 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Fitzgerald @ 2018-02-23 13:43 UTC (permalink / raw)
  To: linus.walleij; +Cc: linux-gpio, linux-kernel, patches, Richard Fitzgerald

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>
---
 drivers/pinctrl/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index 343981cb2461..e5a303002021 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -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)
 {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: core: Add missing EXPORT on pinctrl_register_mappings
  2018-02-23 13:43 [PATCH] pinctrl: core: Add missing EXPORT on pinctrl_register_mappings Richard Fitzgerald
@ 2018-03-02 10:07 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2018-03-02 10:07 UTC (permalink / raw)
  To: Richard Fitzgerald; +Cc: open list:GPIO SUBSYSTEM, linux-kernel, patches

On Fri, Feb 23, 2018 at 2:43 PM, Richard Fitzgerald
<rf@opensource.cirrus.com> wrote:

> 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>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-02 10:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 13:43 [PATCH] pinctrl: core: Add missing EXPORT on pinctrl_register_mappings Richard Fitzgerald
2018-03-02 10:07 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).