From: "Jérémy Lefaure" <jeremy.lefaure@lse.epita.fr>
To: linus.walleij@linaro.org
Cc: linux-gpio@vger.kernel.org,
"Jérémy Lefaure" <jeremy.lefaure@lse.epita.fr>
Subject: [PATCH 2/2] pinctrl: nsp: add missing dependency on CONFIG_OF
Date: Sat, 16 Jul 2016 19:16:17 +0200 [thread overview]
Message-ID: <20160716171617.6745-3-jeremy.lefaure@lse.epita.fr> (raw)
In-Reply-To: <20160716171617.6745-1-jeremy.lefaure@lse.epita.fr>
There is a build error when CONFIG_OF is disabled (tested with
COMPILE_TEST enabled):
drivers/pinctrl/bcm/pinctrl-nsp-mux.c:356:20: error:
‘pinconf_generic_dt_node_to_map_group’ undeclared here (not in a
function)
.dt_node_to_map = pinconf_generic_dt_node_to_map_group,
This commit adds a dependency on CONFIG_OF for PINCTRL_NSP_MUX
Kconfig symbol to fix this problem.
Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
---
drivers/pinctrl/bcm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/bcm/Kconfig b/drivers/pinctrl/bcm/Kconfig
index 6351028..2a2df55 100644
--- a/drivers/pinctrl/bcm/Kconfig
+++ b/drivers/pinctrl/bcm/Kconfig
@@ -102,7 +102,7 @@ config PINCTRL_NS2_MUX
config PINCTRL_NSP_MUX
bool "Broadcom NSP IOMUX driver"
- depends on (ARCH_BCM_NSP || COMPILE_TEST)
+ depends on OF && (ARCH_BCM_NSP || COMPILE_TEST)
select PINMUX
select GENERIC_PINCONF
default ARCH_BCM_NSP
--
2.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-07-16 17:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-16 17:16 [PATCH 0/2] pinctrl: add missing dependencies on CONFIG_OF Jérémy Lefaure
2016-07-16 17:16 ` [PATCH 1/2] pinctrl: cygnus-mux: add missing dependency " Jérémy Lefaure
2016-07-16 17:16 ` Jérémy Lefaure [this message]
2016-07-22 15:09 ` [PATCH 0/2] pinctrl: add missing dependencies " Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160716171617.6745-3-jeremy.lefaure@lse.epita.fr \
--to=jeremy.lefaure@lse.epita.fr \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).