Skip to content

Commit b71b25f

Browse files
arndbholtmann
authored andcommitted
Bluetooth: hciuart: add nvmem dependency
When the hci support is built-in, but mvmem is a loadable module, we get a link failure: drivers/bluetooth/hci_ll.o: In function `hci_ti_probe': hci_ll.c:(.text+0x226): undefined reference to `nvmem_cell_get' hci_ll.c:(.text+0x238): undefined reference to `nvmem_cell_read' hci_ll.c:(.text+0x244): undefined reference to `nvmem_cell_put' This adds another Kconfig dependency to enforce valid configurations. Fixes: 0e58d0c ("Bluetooth: hci_ll: Add optional nvmem BD address source") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
1 parent e5a49ee commit b71b25f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/bluetooth/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ config BT_HCIBTSDIO
7777
config BT_HCIUART
7878
tristate "HCI UART driver"
7979
depends on SERIAL_DEV_BUS || !SERIAL_DEV_BUS
80+
depends on NVMEM || !NVMEM
8081
depends on TTY
8182
help
8283
Bluetooth HCI UART driver.

0 commit comments

Comments
 (0)