]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Fix missing static warnings
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Nov 2021 16:52:40 +0000 (09:52 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 1 Nov 2021 19:18:24 +0000 (20:18 +0100)
commited9c2532d83bfa7ab3a22ed917f29f81fc48fd2f
tree4f8e4237617fd6d1c0cea94e961139fa4107dc43
parent634f5f50db77d010650e687ce8f78df9ff51a79f
Bluetooth: hci_sync: Fix missing static warnings

This fixes the following warnings:

>> net/bluetooth/hci_sync.c:1333:5: warning: no previous prototype for
'hci_scan_disable_sync' [-Wmissing-prototypes]
    1333 | int hci_scan_disable_sync(struct hci_dev *hdev, bool rpa_le_conn)
         |     ^~~~~~~~~~~~~~~~~~~~~
>> net/bluetooth/hci_sync.c:1762:5: warning: no previous prototype for
'hci_passive_scan_sync' [-Wmissing-prototypes]
    1762 | int hci_passive_scan_sync(struct hci_dev *hdev)
         |     ^~~~~~~~~~~~~~~~~~~~~

Fixes: e0e15e51197c ("Bluetooth: hci_sync: Make use of hci_cmd_sync_queue set 3")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sync.c