From d502efe061149f06cfa47d46aa1fcc2f7e84703c Mon Sep 17 00:00:00 2001 From: Yaniv Gardi Date: Sun, 23 Aug 2015 16:29:45 +0300 Subject: [PATCH] scsi: ufs: fix parameter type from bool to enum ufs_notify_change_status This change fixes the signature of the routine ufshcd_vops_clk_scale_notify() and the callback clk_scale_notify to receive enum ufs_notify_change_status instead of bool as their 3rd parameter. Change-Id: I8463f4f5f0a77bcbc3b0bcdfd05d1a02e334dc8e Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 56e365a2c535..6f56a94e8c85 100644 --- a/drivers/scsi/ufs/ufs-qcom.c +++ b/drivers/scsi/ufs/ufs-qcom.c @@ -1953,7 +1953,7 @@ static int ufs_qcom_clk_scale_down_post_change(struct ufs_hba *hba) } static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba, - bool scale_up, bool status) + bool scale_up, enum ufs_notify_change_status status) { struct ufs_qcom_host *host = ufshcd_get_variant(hba); struct ufs_pa_layer_attr *dev_req_params = &host->dev_req_params;