Bluetooth: Fix 'enable_hs' type
authorFabio Estevam <festevam@gmail.com>
Tue, 10 Jan 2012 20:33:50 +0000 (18:33 -0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:25 +0000 (17:01 +0200)
commit8b281b9c7820b054d15cf471c418fd884cbbec78
tree31b6c65765bd0c176ccc6136b75bb3e67e73d83f
parenta3d4e20a88f54571d794cca365f232bfed0669bb
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>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c