diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-29 15:06:32 +0100 |
---|---|---|
committer | Robert Jarzmik <robert.jarzmik@free.fr> | 2016-02-01 21:44:33 +0100 |
commit | f29327d9086ea9126a8f320943fb8b7cc20f9dca (patch) | |
tree | fc81cbab1768a50cc58eb22ec2fd7fc391e5ae9c /arch/arm/mach-pxa/Kconfig | |
parent | 343c1cdbc81c0c7bef05380b10e5c880faf8fb4c (diff) | |
download | op-kernel-dev-f29327d9086ea9126a8f320943fb8b7cc20f9dca.zip op-kernel-dev-f29327d9086ea9126a8f320943fb8b7cc20f9dca.tar.gz |
ARM: pxa: don't select RFKILL if CONFIG_NET is disabled
Bluetooth is only supported when network support is part of the kernel,
so it is a bit pointless to build the tosa-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 adds a dependency on CONFIG_NET to avoid that case.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/Kconfig')
-rw-r--r-- | arch/arm/mach-pxa/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig index 01066cf..7ee4652 100644 --- a/arch/arm/mach-pxa/Kconfig +++ b/arch/arm/mach-pxa/Kconfig @@ -528,7 +528,7 @@ config MACH_TOSA config TOSA_BT tristate "Control the state of built-in bluetooth chip on Sharp SL-6000" - depends on MACH_TOSA + depends on MACH_TOSA && NET select RFKILL help This is a simple driver that is able to control |