mirror of https://gitee.com/openkylin/linux.git
scsi: ufs-mediatek: Make ufs_mtk_wait_link_state static
Fix build warning reported by kernel test robot: Warning: >> drivers/scsi/ufs/ufs-mediatek.c:181:5: warning: no previous prototype >> for 'ufs_mtk_wait_link_state' [-Wmissing-prototypes] Link: https://lore.kernel.org/r/20200616095120.14570-1-stanley.chu@mediatek.com Reported-by: kernel test robot <lkp@intel.com> Reviewed-by: Avri Altman <avri.altman@wdc.com> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
b1bf66d1d5
commit
9a3cd470f8
|
@ -185,7 +185,7 @@ static void ufs_mtk_setup_ref_clk_wait_us(struct ufs_hba *hba,
|
|||
host->ref_clk_ungating_wait_us = ungating_us;
|
||||
}
|
||||
|
||||
int ufs_mtk_wait_link_state(struct ufs_hba *hba, u32 state,
|
||||
static int ufs_mtk_wait_link_state(struct ufs_hba *hba, u32 state,
|
||||
unsigned long max_wait_ms)
|
||||
{
|
||||
ktime_t timeout, time_checked;
|
||||
|
|
Loading…
Reference in New Issue