Skip to contentSkip to conversation

nfcmrvl: Fix Kconfig dependency

PATCH New Michal Marek 1 participant 1 message Nov 3, 2015 NFC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfcmrvl: Fix Kconfig dependency

nfcmrvl_spi needs CONFIG_NFC_NCI_SPI, otherwise the build fails with

ERROR: "nci_spi_read" [drivers/nfc/nfcmrvl/nfcmrvl_spi.ko] undefined!
ERROR: "nci_spi_send" [drivers/nfc/nfcmrvl/nfcmrvl_spi.ko] undefined!
ERROR: "nci_spi_allocate_spi" [drivers/nfc/nfcmrvl/nfcmrvl_spi.ko] undefined!

---
 drivers/nfc/nfcmrvl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nfc/nfcmrvl/Kconfig +1 -1
index 444ca94..670af76 100644
@@ -44,7 +44,7 @@ config NFC_MRVL_I2C
 
 config NFC_MRVL_SPI
 	tristate "Marvell NFC-over-SPI driver"
-	depends on NFC_MRVL && SPI
+	depends on NFC_MRVL && NFC_NCI_SPI
 	help
 	  Marvell NFC-over-SPI driver.
 
Signature · 1 line
1.9.2