From c57fe7391e3d04861895f627ece143d1c2e8cd1c Mon Sep 17 00:00:00 2001 From: Will McVicker Date: Tue, 23 Aug 2022 21:53:15 +0000 Subject: [PATCH] ANDROID: vendor_hooks: update android_vh_ufs_send_uic_command This updates the vendor hook `android_vh_ufs_send_uic_command` due to the function parameter changes from the upstream commit 35d11ec239e ("scsi: ufs: ufshcd: Constify pointed data"). Fixes: 35d11ec239e ("scsi: ufs: ufshcd: Constify pointed data") Signed-off-by: Will McVicker Change-Id: I6d1559bf74982cdf0a4ef4b28618265ba40dbab4 --- include/trace/hooks/ufshcd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/trace/hooks/ufshcd.h b/include/trace/hooks/ufshcd.h index bf4ba522e665..7f5c54574c0e 100644 --- a/include/trace/hooks/ufshcd.h +++ b/include/trace/hooks/ufshcd.h @@ -37,7 +37,8 @@ DECLARE_HOOK(android_vh_ufs_compl_command, struct uic_command; DECLARE_HOOK(android_vh_ufs_send_uic_command, - TP_PROTO(struct ufs_hba *hba, struct uic_command *ucmd, int str_t), + TP_PROTO(struct ufs_hba *hba, const struct uic_command *ucmd, + int str_t), TP_ARGS(hba, ucmd, str_t)); DECLARE_HOOK(android_vh_ufs_send_tm_command,