diff options
author | Yue Hu <huyue2@yulong.com> | 2021-03-11 12:02:10 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-03-24 22:25:40 -0400 |
commit | 7a0c0e6ce130f506449549c5c5fe7902cf83a200 (patch) | |
tree | 0ef5c153237bb0174f2e16c93677b2d806f941a7 /drivers/scsi/ufs/ufshcd.h | |
parent | adb253433dc8bc8dd569ee03b233fed21afc1dc7 (diff) | |
download | lwn-7a0c0e6ce130f506449549c5c5fe7902cf83a200.tar.gz lwn-7a0c0e6ce130f506449549c5c5fe7902cf83a200.zip |
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/ufshcd.h')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.h | 2 |
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) { |