summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-01-10 18:33:50 -0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:25 +0200
commit8b281b9c7820b054d15cf471c418fd884cbbec78 (patch)
tree31b6c65765bd0c176ccc6136b75bb3e67e73d83f /include/net
parenta3d4e20a88f54571d794cca365f232bfed0669bb (diff)
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 'include/net')
-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 3ee39ed9c29b..84993073c2f1 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1415,6 +1415,6 @@ struct hci_inquiry_req {
};
#define IREQ_CACHE_FLUSH 0x0001
-extern int enable_hs;
+extern bool enable_hs;
#endif /* __HCI_H */