]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
firmware: ibft depends on SCSI
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 11 Aug 2010 17:36:20 +0000 (10:36 -0700)
committerKonrad Rzeszutek Wilk <konrad@kernel.org>
Wed, 11 Aug 2010 20:41:43 +0000 (16:41 -0400)
Prevent build errors when SCSI is not enabled:

iscsi_ibft.c:(.init.text+0x548d): undefined reference to `iscsi_boot_create_initiator'
iscsi_ibft.c:(.init.text+0x54a9): undefined reference to `iscsi_boot_create_ethernet'
iscsi_ibft.c:(.init.text+0x54c5): undefined reference to `iscsi_boot_create_target'
iscsi_ibft.c:(.init.text+0x55ff): undefined reference to `iscsi_boot_destroy_kset'
iscsi_ibft.c:(.init.text+0x561e): undefined reference to `iscsi_boot_create_kset'
iscsi_ibft.c:(.exit.text+0xe2c): undefined reference to `iscsi_boot_destroy_kset'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad@kernel.org>
drivers/firmware/Kconfig

index a6c670b8ce5247f4a9b3674163af0f6a3faf1ccb..d4ed8e98edf7b23fb9fd676c92ecfe3bb14c9e3c 100644 (file)
@@ -133,7 +133,7 @@ config ISCSI_BOOT_SYSFS
 config ISCSI_IBFT
        tristate "iSCSI Boot Firmware Table Attributes module"
        select ISCSI_BOOT_SYSFS
-       depends on ISCSI_IBFT_FIND
+       depends on ISCSI_IBFT_FIND && SCSI
        default n
        help
          This option enables support for detection and exposing of iSCSI