Files
2025-08-12 22:16:57 +02:00

22 lines
490 B
C
Executable File

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022-2024, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __QCOM_MPM_H__
#define __QCOM_MPM_H__
#include <linux/cpumask.h>
#if IS_ENABLED(CONFIG_MPM_LEGACY)
int msm_mpm_enter_sleep(struct cpumask *cpumask);
#else
static inline int msm_mpm_enter_sleep(struct cpumask *cpumask)
{
return -ENODEV;
}
#endif
#endif /* __QCOM_MPM_H__ */