summaryrefslogtreecommitdiff
path: root/drivers/fsi/fsi-core.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-07-21 22:53:46 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-07-24 22:21:55 -0400
commitcd069bb9f9ff13b23492fda6ccdb458ac4f641ca (patch)
treed8c60f71db219747f9c6dcb763536936400cd7e1 /drivers/fsi/fsi-core.c
parent260f4aeddb48b16b2f4da306f4d97d44ef102f6b (diff)
scsi: lpfc: fix linking against modular NVMe support
When LPFC is built-in but NVMe is a loadable module, we fail to link the kernel: drivers/scsi/built-in.o: In function `lpfc_nvme_create_localport': (.text+0x156a82): undefined reference to `nvme_fc_register_localport' drivers/scsi/built-in.o: In function `lpfc_nvme_destroy_localport': (.text+0x156eaa): undefined reference to `nvme_fc_unregister_remoteport' We can avoid this either by forcing lpfc to be a module, or by disabling NVMe support in this case. This implements the former. Fixes: 7d7080335f8d ("scsi: lpfc: Finalize Kconfig options for nvme") Cc: stable@vger.kernel.org Link: https://patchwork.kernel.org/patch/9636569/ Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/fsi/fsi-core.c')
0 files changed, 0 insertions, 0 deletions