[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1446564627-27939-1-git-send-email-mmarek@suse.com>
Date: Tue, 3 Nov 2015 16:30:27 +0100
From: Michal Marek <mmarek@...e.com>
To: Vincent Cuissard <cuissard@...vell.com>
Cc: Samuel Ortiz <sameo@...ux.intel.com>, linux-nfc@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] 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!
Signed-off-by: Michal Marek <mmarek@...e.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists