Skip to content
Commit 1dbac5c5 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Samuel Ortiz
Browse files

NFC: nfcmrvl: fix SPI driver dependencies



The newly added nfcmrvl_spi driver uses the spi_nci
infrastructure, but does not have a Kconfig dependency on
that, so we can get a link-time error:

drivers/built-in.o: In function `nfcmrvl_spi_nci_send':
(.text+0x1428dc): undefined reference to `nci_spi_send'
drivers/built-in.o: In function `nfcmrvl_spi_probe':
(.text+0x142a24): undefined reference to `nci_spi_allocate_spi'
drivers/built-in.o: In function `nfcmrvl_spi_int_irq_thread_fn':
(.text+0x142abc): undefined reference to `nci_spi_read'

This clarifies the dependency.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: caf6e49b ("NFC: nfcmrvl: add spi driver")
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 1b1050cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment