summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-07-20 17:53:43 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2017-07-20 20:26:24 +0200
commitf991ce429a420dbb42b3e4b5a47490c84390d7e1 (patch)
tree735203968c8a170b1045ee2542e8f42aae712de8
parentb1dce7132cc3fab5cd0f17867cfd84bbe54e0c31 (diff)
downloadop-kernel-dev-f991ce429a420dbb42b3e4b5a47490c84390d7e1.zip
op-kernel-dev-f991ce429a420dbb42b3e4b5a47490c84390d7e1.tar.gz
ARM: s3c24xx: make H1940BT depend on RFKILL
Bluetooth is only supported when network support is part of the kernel, so it is a bit pointless to build the hi1940-bt support without networking. If we try anyway, we get a Kconfig warning: warning: (TOSA_BT && H1940BT) selects RFKILL which has unmet direct dependencies (NET) This turns the 'select' into 'depends on' as Krzysztof suggested when I first sent a fix. Suggested-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://patchwork.kernel.org/patch/8164161/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/mach-s3c24xx/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig
index f07da82..b198be7 100644
--- a/arch/arm/mach-s3c24xx/Kconfig
+++ b/arch/arm/mach-s3c24xx/Kconfig
@@ -229,7 +229,7 @@ config ARCH_H1940
config H1940BT
tristate "Control the state of H1940 bluetooth chip"
depends on ARCH_H1940
- select RFKILL
+ depends on RFKILL
help
This is a simple driver that is able to control
the state of built in bluetooth chip on h1940.
OpenPOWER on IntegriCloud