NFC: nfcmrvl: fix SPI driver dependencies
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 Nov 2015 14:03:33 +0000 (15:03 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 4 Nov 2015 23:32:25 +0000 (00:32 +0100)
commit1dbac5c578ead0d0f20a06b036d19c109a5a4fb9
tree2fb4a78cade9f01eac0254143935a1dfc84a7595
parent1b1050cdc5cdde43177b375b5f22dc070d45d8f8
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: Arnd Bergmann <arnd@arndb.de>
Fixes: caf6e49bf6d0 ("NFC: nfcmrvl: add spi driver")
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcmrvl/Kconfig