diff options
author | Tong Zhang <ztong0001@gmail.com> | 2021-01-25 19:05:54 -0500 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-01-26 22:12:24 -0500 |
commit | fad0a16130b6b4eb0958f4142d82509f90efdcbd (patch) | |
tree | 894f5220648bb669741248cc1ed3e19a38d31094 /drivers/scsi/Kconfig | |
parent | 3ae0819079f2a914aa785268d856cf4d1e2fd6e1 (diff) | |
download | linux-fad0a16130b6b4eb0958f4142d82509f90efdcbd.tar.gz linux-fad0a16130b6b4eb0958f4142d82509f90efdcbd.tar.bz2 linux-fad0a16130b6b4eb0958f4142d82509f90efdcbd.zip |
scsi: lpfc: Add auto select on IRQ_POLL
lpfc depends on irq_poll library, but it is not selected automatically.
When irq_poll is not selected, compiling it can run into following error
ERROR: modpost: "irq_poll_init" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_sched" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: modpost: "irq_poll_complete" [drivers/scsi/lpfc/lpfc.ko] undefined!
Link: https://lore.kernel.org/r/20210126000554.309858-1-ztong0001@gmail.com
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/Kconfig')
-rw-r--r-- | drivers/scsi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 44c1d5e0e8c9..06b87c7f6bab 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -1145,6 +1145,7 @@ config SCSI_LPFC depends on NVME_TARGET_FC || NVME_TARGET_FC=n depends on NVME_FC || NVME_FC=n select CRC_T10DIF + select IRQ_POLL help This lpfc driver supports the Emulex LightPulse Family of Fibre Channel PCI host adapters. |