mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
UPSTREAM: scsi: ufs: core: Fix incorrectly named ufshcd_find_max_sup_active_icc_level()
Fixes the following W=1 kernel build warning(s):
drivers/scsi/ufs/ufshcd.c:7142: warning: expecting prototype for ufshcd_calc_icc_level(). Prototype was for ufshcd_find_max_sup_active_icc_level() instead
Link: https://lore.kernel.org/r/20210312094738.2207817-3-lee.jones@linaro.org
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: Avri Altman <avri.altman@wdc.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Santosh Yaraganavi <santosh.sy@samsung.com>
Cc: Vinayak Holikatti <h.vinayak@samsung.com>
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 11eea9b3fd)
Bug: 204438323
Change-Id: Id9edfe08033c720d8563d8bd609db140adfc2f2f
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
committed by
Bart Van Assche
parent
b7f59defef
commit
4a7320e8d4
@@ -7252,7 +7252,7 @@ static u32 ufshcd_get_max_icc_level(int sup_curr_uA, u32 start_scan, char *buff)
|
||||
}
|
||||
|
||||
/**
|
||||
* ufshcd_calc_icc_level - calculate the max ICC level
|
||||
* ufshcd_find_max_sup_active_icc_level - calculate the max ICC level
|
||||
* In case regulators are not initialized we'll return 0
|
||||
* @hba: per-adapter instance
|
||||
* @desc_buf: power descriptor buffer to extract ICC levels from.
|
||||
|
||||
Reference in New Issue
Block a user