scsi: ufs-mediatek: Make ufs_mtk_fixup_dev_quirks static
Fix the following warning: drivers/scsi/ufs/ufs-mediatek.c:585:6: warning: symbol 'ufs_mtk_fixup_dev_quirks' was not declared. Should it be static? Link: https://lore.kernel.org/r/20200514012655.127202-1-chentao107@huawei.com Reported-by: Hulk Robot <hulkci@huawei.com> Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: ChenTao <chentao107@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
25c21d20bc
commit
21d2b76831
|
@ -582,7 +582,7 @@ static int ufs_mtk_apply_dev_quirks(struct ufs_hba *hba)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba)
|
static void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba)
|
||||||
{
|
{
|
||||||
struct ufs_dev_info *dev_info = &hba->dev_info;
|
struct ufs_dev_info *dev_info = &hba->dev_info;
|
||||||
u16 mid = dev_info->wmanufacturerid;
|
u16 mid = dev_info->wmanufacturerid;
|
||||||
|
|
Loading…
Reference in New Issue