Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755040AbbKCPaj (ORCPT ); Tue, 3 Nov 2015 10:30:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:45198 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751569AbbKCPah (ORCPT ); Tue, 3 Nov 2015 10:30:37 -0500 From: Michal Marek To: Vincent Cuissard Cc: Samuel Ortiz , linux-nfc@ml01.01.org, linux-kernel@vger.kernel.org Subject: [PATCH] nfcmrvl: Fix Kconfig dependency Date: Tue, 3 Nov 2015 16:30:27 +0100 Message-Id: <1446564627-27939-1-git-send-email-mmarek@suse.com> X-Mailer: git-send-email 1.9.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1058 Lines: 32 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 --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/