Files
android_kernel_samsung_sm86…/linux/misc/qseecom_priv.h
Divisha Bisht 986fef5bf8 securemsm-kernel: Enable CONFIG_QSEECOM_COMPAT for pineapple
Bzl files changes to enable CONFIG_QSEECOM_COMPAT for pineapple.
Now that ddk flag is enabled, the config can no longer be enabled
with Kbuild, instead we have to use bzl based changes to enable
it.

Change-Id: I2f1bb9bb4b78413289b7fa988a49fc7b10e7836e
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
2023-06-16 23:51:28 +05:30

27 行
671 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __QSEECOM_PRIV_H_
#define __QSEECOM_PRIV_H_
#include <linux/types.h>
#if IS_ENABLED(CONFIG_QSEECOM) || IS_ENABLED(CONFIG_ARCH_SA8155)
int qseecom_process_listener_from_smcinvoke(uint32_t *result,
u64 *response_type, unsigned int *data);
#else
static inline int qseecom_process_listener_from_smcinvoke(uint32_t *result,
u64 *response_type, unsigned int *data)
{
return -EOPNOTSUPP;
}
int get_qseecom_kernel_fun_ops(void);
#endif
#endif