]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Bluetooth: hci_nokia: select BT_HCIUART_H4
authorTobias Regnery <tobias.regnery@gmail.com>
Mon, 8 May 2017 09:39:11 +0000 (11:39 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 May 2017 11:59:05 +0000 (13:59 +0200)
We see the following build failure with CONFIG_BT_HCIUART_NOKIA=y and
CONFIG_BT_HCIUART_H4=n:

drivers/bluetooth/hci_nokia.c: In function 'nokia_recv':
drivers/bluetooth/hci_nokia.c:644:18: error: implicit declaration of function 'h4_recv_buf' [-Werror=implicit-function-declaration]
...

Fix this by selecting the BT_HCIUART_H4 symbol like all the other users
of the protocoll.

Fixes: 7bb318680e86 ("Bluetooth: add nokia driver")
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Kconfig

index e5fd24d90b0a2e5fe0ab63b9772af596d7d49f14..35952a94875e82698e82860e371e48d3e135f422 100644 (file)
@@ -97,6 +97,7 @@ config BT_HCIUART_NOKIA
        depends on BT_HCIUART
        depends on BT_HCIUART_SERDEV
        depends on PM
+       select BT_HCIUART_H4
        help
          Nokia H4+ is serial protocol for communication between Bluetooth
          device and host. This protocol is required for Bluetooth devices