public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: bnx2i depends on PCI.
@ 2009-06-15 18:11 Paul Mundt
  2009-06-15 18:23 ` Michael Chan
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2009-06-15 18:11 UTC (permalink / raw)
  To: linux-scsi; +Cc: Michael Chan, James Bottomley

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---

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-15 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-15 18:11 [PATCH] scsi: bnx2i depends on PCI Paul Mundt
2009-06-15 18:23 ` Michael Chan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox