提交 ae336d6f 编写于 作者: B Bixuan Cui 提交者: Yang Yingliang

suspend: export cpu_suspend/cpu_resume/psci_ops

ascend inclusion
category: feature
bugzilla: NA
CVE: NA

-------------------------------------------------

Export cpu_suspend/cpu_resume/psci_ops for lowpower driver.
Signed-off-by: NBixuan Cui <cuibixuan@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 cad88b66
...@@ -127,6 +127,8 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long)) ...@@ -127,6 +127,8 @@ int cpu_suspend(unsigned long arg, int (*fn)(unsigned long))
return ret; return ret;
} }
EXPORT_SYMBOL_GPL(cpu_suspend);
EXPORT_SYMBOL_GPL(cpu_resume);
static int __init cpu_suspend_init(void) static int __init cpu_suspend_init(void)
{ {
......
...@@ -63,6 +63,7 @@ struct psci_operations psci_ops = { ...@@ -63,6 +63,7 @@ struct psci_operations psci_ops = {
.conduit = PSCI_CONDUIT_NONE, .conduit = PSCI_CONDUIT_NONE,
.smccc_version = SMCCC_VERSION_1_0, .smccc_version = SMCCC_VERSION_1_0,
}; };
EXPORT_SYMBOL(psci_ops);
typedef unsigned long (psci_fn)(unsigned long, unsigned long, typedef unsigned long (psci_fn)(unsigned long, unsigned long,
unsigned long, unsigned long); unsigned long, unsigned long);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册