scsi: ufs: ufshcd_query_descriptor_retry should be static
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 5 Jan 2017 08:45:09 +0000 (10:45 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Jan 2017 03:59:07 +0000 (22:59 -0500)
commit26cf9155bf6b7deeaafe8fc8f233fca5e5398c92
tree62541d4499e46ca99ff225eebc0a26d634594b62
parentb6f0ec3621d73bc2976a4f2ee2bf9d02ecfd16b6
scsi: ufs: ufshcd_query_descriptor_retry should be static

Fix the following compilation warning:

drivers/scsi/ufs/ufshcd.c:2076:5: warning: no previous prototype for
 ufshcd_query_descriptor_retry  [-Wmissing-prototypes]

Also do not export the function, it should not be used out of ufs
context.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c