linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfcmrvl: Fix Kconfig dependency
@ 2015-11-03 15:30 Michal Marek
  0 siblings, 0 replies; only message in thread
From: Michal Marek @ 2015-11-03 15:30 UTC (permalink / raw)
  To: Vincent Cuissard; +Cc: Samuel Ortiz, linux-nfc, linux-kernel

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!

Signed-off-by: Michal Marek <mmarek@suse.com>
---
 drivers/nfc/nfcmrvl/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/nfc/nfcmrvl/Kconfig b/drivers/nfc/nfcmrvl/Kconfig
index 444ca94..670af76 100644
--- a/drivers/nfc/nfcmrvl/Kconfig
+++ b/drivers/nfc/nfcmrvl/Kconfig
@@ -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.
 
-- 
1.9.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-03 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-03 15:30 [PATCH] nfcmrvl: Fix Kconfig dependency Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).