[PATCH] scsi: bnx2i depends on PCI.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
Cc: Michael Chan <mchan@xxxxxxxxxxxx>

---

 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---
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux