summaryrefslogtreecommitdiff
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-01-22 19:45:14 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-01-22 20:08:46 (GMT)
commitb1cc16b8e643096adb92bbcb76c6c4c564141c40 (patch)
treec82c5be4c43ab5c82cf9fad022a4c77df30e90cc /include/net/bluetooth
parent0e90b31f4ba77027a7c21cbfc66404df0851ca21 (diff)
downloadlinux-fsl-qoriq-b1cc16b8e643096adb92bbcb76c6c4c564141c40.tar.xz
bluetooth: hci: Fix type of "enable_hs" to bool.
Fixes: net/bluetooth/hci_core.c: In function ‘__check_enable_hs’: net/bluetooth/hci_core.c:2587:1: warning: return from incompatible pointer type [enabled by default] Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 5b2fed5..00596e8 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1388,6 +1388,6 @@ struct hci_inquiry_req {
};
#define IREQ_CACHE_FLUSH 0x0001
-extern int enable_hs;
+extern bool enable_hs;
#endif /* __HCI_H */