Răsfoiți Sursa

securemsm-kernel: smcinvoke: add forward declaration

Add a forward declaration to avoid compilation errors.

Change-Id: I2b72059a6f739cc89c2da255bba736a2b4a1402a
Signed-off-by: Reut Zysman <[email protected]>
Reut Zysman 2 ani în urmă
părinte
comite
60fd58f999
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      include/linux/smcinvoke_object.h

+ 2 - 1
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,