diff options
Diffstat (limited to 'drivers/scsi/scsi_scan.c')
-rw-r--r-- | drivers/scsi/scsi_scan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index a67f315244d7..5df28e2fd3bb 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c | |||
@@ -1204,7 +1204,7 @@ static void scsi_sequential_lun_scan(struct scsi_target *starget, | |||
1204 | * Given a struct scsi_lun of: 0a 04 0b 03 00 00 00 00, this function returns | 1204 | * Given a struct scsi_lun of: 0a 04 0b 03 00 00 00 00, this function returns |
1205 | * the integer: 0x0b030a04 | 1205 | * the integer: 0x0b030a04 |
1206 | **/ | 1206 | **/ |
1207 | static int scsilun_to_int(struct scsi_lun *scsilun) | 1207 | int scsilun_to_int(struct scsi_lun *scsilun) |
1208 | { | 1208 | { |
1209 | int i; | 1209 | int i; |
1210 | unsigned int lun; | 1210 | unsigned int lun; |
@@ -1215,6 +1215,7 @@ static int scsilun_to_int(struct scsi_lun *scsilun) | |||
1215 | scsilun->scsi_lun[i + 1]) << (i * 8)); | 1215 | scsilun->scsi_lun[i + 1]) << (i * 8)); |
1216 | return lun; | 1216 | return lun; |
1217 | } | 1217 | } |
1218 | EXPORT_SYMBOL(scsilun_to_int); | ||
1218 | 1219 | ||
1219 | /** | 1220 | /** |
1220 | * int_to_scsilun: reverts an int into a scsi_lun | 1221 | * int_to_scsilun: reverts an int into a scsi_lun |