All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] pinctrl: fix pinctrl_register_mappings
@ 2012-04-24  6:59 Jean-Christophe PLAGNIOL-VILLARD
  2012-04-24 13:19 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-04-24  6:59 UTC (permalink / raw)
  To: linux-arm-kernel

the function was to pinctrl

e93bcee00c4 pinctrl: move generic functions to the pinctrl_ namespace

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
---
 include/linux/pinctrl/machine.h |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index fee4349..fb6b649 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -148,18 +148,7 @@ struct pinctrl_map {
 #define PIN_MAP_CONFIGS_GROUP_HOG_DEFAULT(dev, grp, cfgs)		\
 	PIN_MAP_CONFIGS_GROUP(dev, PINCTRL_STATE_DEFAULT, dev, grp, cfgs)
 
-#ifdef CONFIG_PINMUX
-
-extern int pinctrl_register_mappings(struct pinctrl_map const *map,
+extern int pinctrl_register_mappings(struct pinctrl_map const *maps,
 				unsigned num_maps);
 
-#else
-
-static inline int pinctrl_register_mappings(struct pinctrl_map const *map,
-					   unsigned num_maps)
-{
-	return 0;
-}
-
-#endif /* !CONFIG_PINMUX */
 #endif
-- 
1.7.9.1

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

* [PATCH 1/1] pinctrl: fix pinctrl_register_mappings
  2012-04-24  6:59 [PATCH 1/1] pinctrl: fix pinctrl_register_mappings Jean-Christophe PLAGNIOL-VILLARD
@ 2012-04-24 13:19 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2012-04-24 13:19 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Apr 24, 2012 at 8:59 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com> wrote:

> the function was to pinctrl
>
> e93bcee00c4 pinctrl: move generic functions to the pinctrl_ namespace
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Stephen Warren <swarren@wwwdotorg.org>

This is already fixed in the tree I think, but thanks anyway!

-#endif /* !CONFIG_PINMUX */

We forgot to fix that comment though. I'll write a patch.

Thanks,
Linus Walleij

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

end of thread, other threads:[~2012-04-24 13:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24  6:59 [PATCH 1/1] pinctrl: fix pinctrl_register_mappings Jean-Christophe PLAGNIOL-VILLARD
2012-04-24 13:19 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.