Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b71b25fe authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Marcel Holtmann
Browse files

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: 0e58d0cd ("Bluetooth: hci_ll: Add optional nvmem BD address source")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent e5a49ee9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -77,6 +77,7 @@ config BT_HCIBTSDIO
config BT_HCIUART
config BT_HCIUART
	tristate "HCI UART driver"
	tristate "HCI UART driver"
	depends on SERIAL_DEV_BUS || !SERIAL_DEV_BUS
	depends on SERIAL_DEV_BUS || !SERIAL_DEV_BUS
	depends on NVMEM || !NVMEM
	depends on TTY
	depends on TTY
	help
	help
	  Bluetooth HCI UART driver.
	  Bluetooth HCI UART driver.