lkml.org 
[lkml]   [2017]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] pinctrl: sprd: add CONFIG_OF dependency
Date
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@arndb.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
\
 
 \ /
  Last update: 2017-09-05 09:59    [W:0.037 / U:10.004 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site