Rtwo/kernel/motorola/sm8550/include/soc/qcom/mpm.h

22 lines
482 B
C
Raw Permalink Normal View History

2025-09-30 20:22:48 -04:00
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#ifndef __QCOM_MPM_H__
#define __QCOM_MPM_H__
#include <linux/cpumask.h>
#if IS_ENABLED(CONFIG_QCOM_MPM)
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__ */