summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames.Smart@Emulex.Com2005-08-10 21:03:09 +0200
committerJames Bottomley2005-08-12 19:09:01 +0200
commit918865230e55b1fece2d8edec39d46c00626590b (patch)
treedb1f8660dba0b448b1a4150d44a084dafaf5253e /drivers/scsi/lpfc/lpfc_init.c
parent[SCSI] lpfc driver 8.0.30 : dev_loss and nodev timeouts (diff)
downloadkernel-qcow2-linux-918865230e55b1fece2d8edec39d46c00626590b.tar.gz
kernel-qcow2-linux-918865230e55b1fece2d8edec39d46c00626590b.tar.xz
kernel-qcow2-linux-918865230e55b1fece2d8edec39d46c00626590b.zip
[SCSI] lpfc driver 8.0.30 : convert to use of int_to_scsilun()
Replace use of lpfc_put_lun with midlayer's int_to_scsilun Remove driver's local definition of lpfc_put_lun (which converts an int back to a 64-bit LUN) and replace it's use with the recently added int_to_scsilun function provided by the midlayer. Note: Embedding midlayer structure in our structure caused need for more files to include midlayer headers. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 1b6d1dcdabb3..6f3cb59bf9e0 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -28,6 +28,7 @@
#include <linux/pci.h>
#include <linux/spinlock.h>
+#include <scsi/scsi.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport_fc.h>