summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/core.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2011-10-19 17:07:16 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-01-03 09:09:58 +0100
commit7afde8baa83b9ac409a6db86f27a41878aa6b33f (patch)
treef7d1af3bc5e5c03d2d9be10d3ede7de7fc49de53 /drivers/pinctrl/core.h
parentb84e673f51799a2d0bad7a7c1e7a74021c4eba4b (diff)
downloadlinux-7afde8baa83b9ac409a6db86f27a41878aa6b33f.tar.bz2
pinctrl: move group lookup to core
Now also the core needs to look up pin groups so move the lookup function there and expose it in the internal header. Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/core.h')
-rw-r--r--drivers/pinctrl/core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/core.h b/drivers/pinctrl/core.h
index 472fa1341cc0..dcc6d687b653 100644
--- a/drivers/pinctrl/core.h
+++ b/drivers/pinctrl/core.h
@@ -69,3 +69,5 @@ struct pin_desc *pin_desc_get(struct pinctrl_dev *pctldev, int pin);
int pinctrl_get_device_gpio_range(unsigned gpio,
struct pinctrl_dev **outdev,
struct pinctrl_gpio_range **outrange);
+int pinctrl_get_group_selector(struct pinctrl_dev *pctldev,
+ const char *pin_group);