From 60fd58f999f751af276b346f1a7bb568676edf31 Mon Sep 17 00:00:00 2001 From: Reut Zysman Date: Tue, 27 Jun 2023 13:17:38 -0700 Subject: [PATCH] securemsm-kernel: smcinvoke: add forward declaration Add a forward declaration to avoid compilation errors. Change-Id: I2b72059a6f739cc89c2da255bba736a2b4a1402a Signed-off-by: Reut Zysman --- include/linux/smcinvoke_object.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/linux/smcinvoke_object.h b/include/linux/smcinvoke_object.h index 43bcb929e3..730c178faf 100644 --- a/include/linux/smcinvoke_object.h +++ b/include/linux/smcinvoke_object.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ /* * Copyright (c) 2016-2021, The Linux Foundation. All rights reserved. - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. */ #ifndef __SMCINVOKE_OBJECT_H #define __SMCINVOKE_OBJECT_H @@ -116,6 +116,7 @@ ((nObjectsOut) << 12))) union ObjectArg; +struct smcinvoke_cmd_req; typedef int32_t (*ObjectInvoke)(void *h, uint32_t op,