scsi: lpfc: Fix build error
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 21 Mar 2019 00:02:04 +0000 (20:02 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 21 Mar 2019 00:03:47 +0000 (20:03 -0400)
commitc88725dd14da7356216db7d5fe4713a66d8b1a34
tree5e61f198a967c31a5e43133158c960b86e611746
parent7512ddef63075605ecc25fee86940a1452fcbe49
scsi: lpfc: Fix build error

You can't declare a function inline in a header if it doesn't have a body
available to the compiler. So realistically you either don't declare it
inline or you make it a static inline in the header.  I think the latter
applies in this case, so this should be the fix

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Acked-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_sli4.h