scsi: ufs: Move the ufs_is_valid_unit_desc_lun() definition
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 Apr 2022 22:58:11 +0000 (15:58 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:23:04 +0000 (23:23 -0400)
commita8b032b5b3ba4e9d8ecb913724d0725121445b24
treefe2a80ba4398f80968d1131598c79962f5213fab
parent743b09d8541e2d6ae419bf41c4815f8be318dcc5
scsi: ufs: Move the ufs_is_valid_unit_desc_lun() definition

Move the definition of this function from a public into a private header
file since it is only used inside the UFS core.

Link: https://lore.kernel.org/r/20220419225811.4127248-29-bvanassche@acm.org
Tested-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs.h
drivers/scsi/ufs/ufshcd-priv.h