diff options
| -rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index d41233914336..a450407a56ee 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c | |||
| @@ -1314,7 +1314,7 @@ out: | |||
| 1314 | * The buf_len parameter will contain, on return, the length parameter | 1314 | * The buf_len parameter will contain, on return, the length parameter |
| 1315 | * received on the response. | 1315 | * received on the response. |
| 1316 | */ | 1316 | */ |
| 1317 | int ufshcd_query_descriptor(struct ufs_hba *hba, | 1317 | static int ufshcd_query_descriptor(struct ufs_hba *hba, |
| 1318 | enum query_opcode opcode, enum desc_idn idn, u8 index, | 1318 | enum query_opcode opcode, enum desc_idn idn, u8 index, |
| 1319 | u8 selector, u8 *desc_buf, int *buf_len) | 1319 | u8 selector, u8 *desc_buf, int *buf_len) |
| 1320 | { | 1320 | { |
| @@ -2018,7 +2018,8 @@ static int ufshcd_slave_alloc(struct scsi_device *sdev) | |||
| 2018 | * Change queue depth according to the reason and make sure | 2018 | * Change queue depth according to the reason and make sure |
| 2019 | * the max. limits are not crossed. | 2019 | * the max. limits are not crossed. |
| 2020 | */ | 2020 | */ |
| 2021 | int ufshcd_change_queue_depth(struct scsi_device *sdev, int depth, int reason) | 2021 | static int ufshcd_change_queue_depth(struct scsi_device *sdev, |
| 2022 | int depth, int reason) | ||
| 2022 | { | 2023 | { |
| 2023 | struct ufs_hba *hba = shost_priv(sdev->host); | 2024 | struct ufs_hba *hba = shost_priv(sdev->host); |
| 2024 | 2025 | ||
