[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170905075826.893066-2-arnd@arndb.de>
Date: Tue, 5 Sep 2017 09:58:02 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Linus Walleij <linus.walleij@...aro.org>,
Baolin Wang <baolin.wang@...eadtrum.com>
Cc: Arnd Bergmann <arnd@...db.de>, linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] pinctrl: sprd: add CONFIG_OF dependency
Without CONFIG_OF, we run into a build error:
drivers/pinctrl/sprd/pinctrl-sprd.c: In function 'sprd_dt_node_to_map':
drivers/pinctrl/sprd/pinctrl-sprd.c:290:8: error: implicit declaration of function 'pinconf_generic_parse_dt_config'; did you mean 'pinconf_generic_dump_config'? [-Werror=implicit-function-declaration]
This adds a Kconfig dependency for it.
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/pinctrl/sprd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/pinctrl/sprd/Kconfig b/drivers/pinctrl/sprd/Kconfig
index ec21b8bae487..e75cde2e1b46 100644
--- a/drivers/pinctrl/sprd/Kconfig
+++ b/drivers/pinctrl/sprd/Kconfig
@@ -4,6 +4,7 @@
config PINCTRL_SPRD
bool "Spreadtrum pinctrl driver"
+ depends on OF
select PINMUX
select PINCONF
select GENERIC_PINCONF
--
2.9.0
Powered by blists - more mailing lists