public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: depends on RFKILL
@ 2009-06-09 15:07 Alexander Beregalov
  2009-06-09 15:22 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Beregalov @ 2009-06-09 15:07 UTC (permalink / raw)
  To: marcel, linux-next; +Cc: linux-bluetooth, Alexander Beregalov

Since commit "Bluetooth: Add native RFKILL soft-switch support for all
devices" (611b30f74b5) bluetooth depends on RFKILL.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
---
 net/bluetooth/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
index 7725da9..85ec71d 100644
--- a/net/bluetooth/Kconfig
+++ b/net/bluetooth/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menuconfig BT
-	depends on NET && !S390
+	depends on NET && RFKILL && !S390
 	tristate "Bluetooth subsystem support"
 	help
 	  Bluetooth is low-cost, low-power, short-range wireless technology.
-- 
1.6.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Bluetooth: depends on RFKILL
  2009-06-09 15:07 [PATCH] Bluetooth: depends on RFKILL Alexander Beregalov
@ 2009-06-09 15:22 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-06-09 15:22 UTC (permalink / raw)
  To: Alexander Beregalov; +Cc: linux-next, linux-bluetooth

Hi Alexander,

> Since commit "Bluetooth: Add native RFKILL soft-switch support for all
> devices" (611b30f74b5) bluetooth depends on RFKILL.
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
> ---
>  net/bluetooth/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/net/bluetooth/Kconfig b/net/bluetooth/Kconfig
> index 7725da9..85ec71d 100644
> --- a/net/bluetooth/Kconfig
> +++ b/net/bluetooth/Kconfig
> @@ -3,7 +3,7 @@
>  #
>  
>  menuconfig BT
> -	depends on NET && !S390
> +	depends on NET && RFKILL && !S390
>  	tristate "Bluetooth subsystem support"
>  	help
>  	  Bluetooth is low-cost, low-power, short-range wireless technology

this patch is wrong. I think it just needs an extra

	depends on RFKILL || !RFKILL

It is fine to compile Bluetooth without RFKILL support.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-09 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 15:07 [PATCH] Bluetooth: depends on RFKILL Alexander Beregalov
2009-06-09 15:22 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox