aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-nomadik.h
diff options
context:
space:
mode:
authorLinus Walleij2012-08-10 00:43:28 +0200
committerLinus Walleij2012-09-03 13:21:37 +0200
commitf79c5ed9dab3ae80f6cbe9edaafbc8a4dadb8408 (patch)
tree7ff9f4063a1ff487758be23cbe8acef272c46c6d /drivers/pinctrl/pinctrl-nomadik.h
parent45a1b53195069f53d5cbdbfff5e5fed97004320b (diff)
pinctrl/nomadik: add STn8815 ASIC support
This adds support for the STN8815 ASIC for the Nomadik pin controller. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.h')
-rw-r--r--drivers/pinctrl/pinctrl-nomadik.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik.h b/drivers/pinctrl/pinctrl-nomadik.h
index e88320fb4c65..5c99f1c62dfd 100644
--- a/drivers/pinctrl/pinctrl-nomadik.h
+++ b/drivers/pinctrl/pinctrl-nomadik.h
@@ -62,6 +62,19 @@ struct nmk_pinctrl_soc_data {
unsigned ngroups;
};
+#ifdef CONFIG_PINCTRL_STN8815
+
+void nmk_pinctrl_stn8815_init(const struct nmk_pinctrl_soc_data **soc);
+
+#else
+
+static inline void
+nmk_pinctrl_stn8815_init(const struct nmk_pinctrl_soc_data **soc)
+{
+}
+
+#endif
+
#ifdef CONFIG_PINCTRL_DB8500
void nmk_pinctrl_db8500_init(const struct nmk_pinctrl_soc_data **soc);