From: Paul Mundt <lethal@linux-sh.org>
To: linux-scsi@vger.kernel.org
Cc: Michael Chan <mchan@broadcom.com>,
James Bottomley <James.Bottomley@HansenPartnership.com>
Subject: [PATCH] scsi: bnx2i depends on PCI.
Date: Tue, 16 Jun 2009 03:11:23 +0900 [thread overview]
Message-ID: <20090615181123.GB30693@linux-sh.org> (raw)
This fixes up the CONFIG_PCI=n case, primarily triggered on
allmodconfig/allyesconfig builds:
drivers/scsi/bnx2i/bnx2i_iscsi.c:760: error: implicit declaration of function 'pci_dev_get'
make[4]: *** [drivers/scsi/bnx2i/bnx2i_iscsi.o] Error 1
make[3]: *** [drivers/scsi/bnx2i] Error 2
The entire driver is PCI dependent, so just reflect it in the Kconfig.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: Michael Chan <mchan@broadcom.com>
---
drivers/scsi/bnx2i/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/bnx2i/Kconfig b/drivers/scsi/bnx2i/Kconfig
index 820d428..0d63146 100644
--- a/drivers/scsi/bnx2i/Kconfig
+++ b/drivers/scsi/bnx2i/Kconfig
@@ -1,5 +1,6 @@
config SCSI_BNX2_ISCSI
tristate "Broadcom NetXtreme II iSCSI support"
+ depends on PCI
select SCSI_ISCSI_ATTRS
select CNIC
---help---
next reply other threads:[~2009-06-15 18:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 18:11 Paul Mundt [this message]
2009-06-15 18:23 ` [PATCH] scsi: bnx2i depends on PCI Michael Chan
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=20090615181123.GB30693@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mchan@broadcom.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