mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-19 00:54:41 +08:00
9eb81d69ad
On X86 plaform, if the CONFIG_OF is not selected, and set the CONFIG_SPRD_SC9860 as 'm', that will cause below waring: WARNING: unmet direct dependencies detected for PINCTRL_SPRD Depends on [n]: PINCTRL [=y] && OF [=n] && (ARCH_SPRD || COMPILE_TEST [=y]) Selected by [m]: - PINCTRL_SPRD_SC9860 [=m] && PINCTRL [=y] Thus move the configuration dependency under CONFIG_PINCTRL_SPRD_SC9860 to fix the warning. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Baolin Wang <baolin.wang7@gmail.com> Link: https://lore.kernel.org/r/eeb12d7843fb06f80e19f98eb25711231c3b610f.1583205650.git.baolin.wang7@gmail.com Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
22 lines
462 B
Plaintext
22 lines
462 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Spreadtrum pin control drivers
|
|
#
|
|
|
|
config PINCTRL_SPRD
|
|
tristate
|
|
select PINMUX
|
|
select PINCONF
|
|
select GENERIC_PINCONF
|
|
select GENERIC_PINMUX_FUNCTIONS
|
|
help
|
|
Say Y here to enable Spreadtrum pinctrl driver
|
|
|
|
config PINCTRL_SPRD_SC9860
|
|
tristate "Spreadtrum SC9860 pinctrl driver"
|
|
depends on OF
|
|
depends on ARCH_SPRD || COMPILE_TEST
|
|
select PINCTRL_SPRD
|
|
help
|
|
Say Y here to enable Spreadtrum SC9860 pinctrl driver
|