]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: pxa: don't select RFKILL if CONFIG_NET is disabled
authorArnd Bergmann <arnd@arndb.de>
Fri, 29 Jan 2016 14:06:32 +0000 (15:06 +0100)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 1 Feb 2016 20:44:33 +0000 (21:44 +0100)
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>
arch/arm/mach-pxa/Kconfig

index 01066cff16e46ac1dfb11776fdd2ba5a607286aa..7ee4652b4c61d9a3a921d52de13d3e46dd356d78 100644 (file)
@@ -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