summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorFabio Estevam2012-01-10 21:33:50 +0100
committerJohan Hedberg2012-02-13 16:01:25 +0100
commit8b281b9c7820b054d15cf471c418fd884cbbec78 (patch)
tree31b6c65765bd0c176ccc6136b75bb3e67e73d83f /net/bluetooth/hci_core.c
parentBluetooth: Sort to-be-resolved devices by RSSI during discovery (diff)
downloadkernel-qcow2-linux-8b281b9c7820b054d15cf471c418fd884cbbec78.tar.gz
kernel-qcow2-linux-8b281b9c7820b054d15cf471c418fd884cbbec78.tar.xz
kernel-qcow2-linux-8b281b9c7820b054d15cf471c418fd884cbbec78.zip
Bluetooth: Fix 'enable_hs' type
Fix the following build warning: CC [M] net/bluetooth/hci_core.o net/bluetooth/hci_core.c: In function ‘__check_enable_hs’: net/bluetooth/hci_core.c:2587: warning: return from incompatible pointer type module_param in hci_core.c passes 'enable_hs' as bool format, so fix this variable definition type. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 9963121028e4..91166dbbe35c 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -55,7 +55,7 @@
#define AUTO_OFF_TIMEOUT 2000
-int enable_hs;
+bool enable_hs;
static void hci_rx_work(struct work_struct *work);
static void hci_cmd_work(struct work_struct *work);