From d18a181849e903e4a312040364f5c8fae7a03ce2 Mon Sep 17 00:00:00 2001
From: CMY <cmy@rock-chips.com>
Date: Mon, 6 Aug 2012 15:19:18 +0800
Subject: [PATCH] BT: for NH660

---
 drivers/bluetooth/Kconfig | 11 +++++++++++
 net/rfkill/rfkill-rk.c    |  8 +++++++-
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/drivers/bluetooth/Kconfig b/drivers/bluetooth/Kconfig
index fdc472b7b2ab..cceaab11a091 100755
--- a/drivers/bluetooth/Kconfig
+++ b/drivers/bluetooth/Kconfig
@@ -257,4 +257,15 @@ config BT_WILINK
 
 	  Say Y here to compile support for Texas Instrument's WiLink7 driver
 	  into the kernel or say M to compile it as module.
+
+if BCM4330
+choice
+        prompt "Select the bluetooth module"
+        default BT_MODULE_NH660
+
+        config BT_MODULE_NH660
+        bool "AzureWave NH660"
+endchoice
+endif
+
 endmenu
diff --git a/net/rfkill/rfkill-rk.c b/net/rfkill/rfkill-rk.c
index d5815ac06955..dfcb9727a6a8 100644
--- a/net/rfkill/rfkill-rk.c
+++ b/net/rfkill/rfkill-rk.c
@@ -103,7 +103,13 @@ struct rfkill_rk_data {
 static struct rfkill_rk_data *g_rfkill = NULL;
 
 static const char bt_name[] = 
-#if defined(CONFIG_RKWIFI)
+#if defined (CONFIG_BCM4330)
+    #if defined (CONFIG_BT_MODULE_NH660)
+        "nh660"
+    #else
+        "bcm4330"
+    #endif
+#elif defined (CONFIG_RK903)
     #if defined(CONFIG_RKWIFI_26M)
         "rk903_26M"
     #else
-- 
2.34.1