Re: [PATCH] Bluetooth: hciuart: add nvmem dependency

From: Marcel Holtmann
Date: Tue Jan 02 2018 - 06:18:18 EST


Hi Arnd,

> 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@xxxxxxxx>
> ---
> drivers/bluetooth/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel