diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-08-11 13:36:20 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad@kernel.org> | 2010-08-11 16:41:43 -0400 |
commit | 4cde752587bab61cedf53fc59ca92787f8612ec0 (patch) | |
tree | 9ddf4dd9a6efdb0ac44806d0d062dda0fd6ca4e5 /drivers/firmware | |
parent | a12415ff589ac5106e6b489f44c947b565fcb963 (diff) |
firmware: ibft depends on SCSI
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>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index a6c670b8ce52..d4ed8e98edf7 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig | |||
@@ -133,7 +133,7 @@ config ISCSI_BOOT_SYSFS | |||
133 | config ISCSI_IBFT | 133 | config ISCSI_IBFT |
134 | tristate "iSCSI Boot Firmware Table Attributes module" | 134 | tristate "iSCSI Boot Firmware Table Attributes module" |
135 | select ISCSI_BOOT_SYSFS | 135 | select ISCSI_BOOT_SYSFS |
136 | depends on ISCSI_IBFT_FIND | 136 | depends on ISCSI_IBFT_FIND && SCSI |
137 | default n | 137 | default n |
138 | help | 138 | help |
139 | This option enables support for detection and exposing of iSCSI | 139 | This option enables support for detection and exposing of iSCSI |