UPSTREAM: scsi: ufs: core: Correct status type in ufshcd_vops_pwr_change_notify()

The status parameter's type should be enum ufs_notify_change_status.

Link: https://lore.kernel.org/r/20210311040210.1315-1-zbestahu@gmail.com
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit 7a0c0e6ce1)
Bug: 204438323
Change-Id: I4c4bbb5e1b3ec26943cfd398451b52ec870cca2c
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
Yue Hu
2021-03-11 12:02:10 +08:00
committed by Bart Van Assche
parent 9e6bc49a0b
commit 234295211d

View File

@@ -1300,7 +1300,7 @@ static inline int ufshcd_vops_phy_initialization(struct ufs_hba *hba)
}
static inline int ufshcd_vops_pwr_change_notify(struct ufs_hba *hba,
bool status,
enum ufs_notify_change_status status,
struct ufs_pa_layer_attr *dev_max_params,
struct ufs_pa_layer_attr *dev_req_params)
{