summaryrefslogtreecommitdiff
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2021-03-11 07:02:10 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-03-25 05:25:40 +0300
commit7a0c0e6ce130f506449549c5c5fe7902cf83a200 (patch)
tree0ef5c153237bb0174f2e16c93677b2d806f941a7 /drivers/scsi/ufs
parentadb253433dc8bc8dd569ee03b233fed21afc1dc7 (diff)
downloadlinux-7a0c0e6ce130f506449549c5c5fe7902cf83a200.tar.xz
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>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufshcd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index cb72695b77ab..5eb66a8debc7 100644
--- a/drivers/scsi/ufs/ufshcd.h
+++ b/drivers/scsi/ufs/ufshcd.h
@@ -1186,7 +1186,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)
{