mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Marek <mmarek@suse.com>
To: Vincent Cuissard <cuissard@marvell.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
	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	[thread overview]
Message-ID: <1446564627-27939-1-git-send-email-mmarek@suse.com> (raw)

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


                 reply	other threads:[~2015-11-03 15:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1446564627-27939-1-git-send-email-mmarek@suse.com \
    --to=mmarek@suse.com \
    --cc=cuissard@marvell.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nfc@ml01.01.org \
    --cc=sameo@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®