Commit fad0a161 authored by Tong Zhang's avatar Tong Zhang Committed by Martin K. Petersen

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.comReviewed-by: default avatarJames Smart <jsmart2021@gmail.com>
Signed-off-by: default avatarTong Zhang <ztong0001@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 3ae08190
...@@ -1145,6 +1145,7 @@ config SCSI_LPFC ...@@ -1145,6 +1145,7 @@ config SCSI_LPFC
depends on NVME_TARGET_FC || NVME_TARGET_FC=n depends on NVME_TARGET_FC || NVME_TARGET_FC=n
depends on NVME_FC || NVME_FC=n depends on NVME_FC || NVME_FC=n
select CRC_T10DIF select CRC_T10DIF
select IRQ_POLL
help help
This lpfc driver supports the Emulex LightPulse This lpfc driver supports the Emulex LightPulse
Family of Fibre Channel PCI host adapters. Family of Fibre Channel PCI host adapters.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment