diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-19 10:14:51 +0300 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-19 10:31:58 -0300 |
commit | 07dc93dd14957dc1faba08f0aadd27b082e35ba2 (patch) | |
tree | b81c188a4a404bb5bc19d36fa6590244f7e770b2 /net/bluetooth/hci_event.c | |
parent | faff7f74d2f945527ef92d68e501d9e8adaca750 (diff) |
Bluetooth: Fix HCI command send functions to use const specifier
All HCI command send functions that take a pointer to the command
parameters do not need to modify the content in any way (they merely
copy the data to an skb). Therefore, the parameter type should be
declared const. This also allows passing already const parameters to
these APIs which previously would have generated a compiler warning.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'net/bluetooth/hci_event.c')
0 files changed, 0 insertions, 0 deletions