22 lines
482 B
C
22 lines
482 B
C
|
|
/* 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__ */
|