]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: hciuart: add nvmem dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 2 Jan 2018 10:50:30 +0000 (11:50 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Jan 2018 20:44:22 +0000 (21:44 +0100)
commitb71b25fed1c3fa7fdeba4bbda2d17fb384a80508
treee14ca1c75dced18650c5d0386613c803a237d0ca
parente5a49ee98191eedf208ea169455667deb80fe646
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: 0e58d0cdb3eb ("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>
drivers/bluetooth/Kconfig