[PATCH v1 2/3] scsi: ufs-qcom: modify apply_dev_quirks interface

Stanley Chu stanley.chu at mediatek.com
Sat Jan 4 20:55:17 PST 2020


Modify interface according to the change of vendor-specific
variant callback "apply_dev_quirks".

Cc: Alim Akhtar <alim.akhtar at samsung.com>
Cc: Asutosh Das <asutoshd at codeaurora.org>
Cc: Avri Altman <avri.altman at wdc.com>
Cc: Bart Van Assche <bvanassche at acm.org>
Cc: Bean Huo <beanhuo at micron.com>
Cc: Can Guo <cang at codeaurora.org>
Cc: Matthias Brugger <matthias.bgg at gmail.com>
Signed-off-by: Stanley Chu <stanley.chu at mediatek.com>
---
 drivers/scsi/ufs/ufs-qcom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c
index c69c29a1ceb9..ebb5c66e069f 100644
--- a/drivers/scsi/ufs/ufs-qcom.c
+++ b/drivers/scsi/ufs/ufs-qcom.c
@@ -949,7 +949,8 @@ static int ufs_qcom_quirk_host_pa_saveconfigtime(struct ufs_hba *hba)
 	return err;
 }
 
-static int ufs_qcom_apply_dev_quirks(struct ufs_hba *hba)
+static int ufs_qcom_apply_dev_quirks(struct ufs_hba *hba,
+				     struct ufs_dev_desc *card)
 {
 	int err = 0;
 
-- 
2.18.0


More information about the linux-arm-kernel mailing list