提交 3375a43f 编写于 作者: S Steven Miao 提交者: Bob Liu

cleanup: sec and linkport only built on bf60x

Signed-off-by: NSteven Miao <realmz6@gmail.com>
Signed-off-by: NBob Liu <lliubbo@gmail.com>
上级 ba4691a4
...@@ -1138,6 +1138,7 @@ void bfin_pint_resume(void) ...@@ -1138,6 +1138,7 @@ void bfin_pint_resume(void)
} }
} }
#ifdef CONFIG_BF60x
static int sec_suspend(void) static int sec_suspend(void)
{ {
u32 bank; u32 bank;
...@@ -1164,6 +1165,7 @@ static struct syscore_ops sec_pm_syscore_ops = { ...@@ -1164,6 +1165,7 @@ static struct syscore_ops sec_pm_syscore_ops = {
.suspend = sec_suspend, .suspend = sec_suspend,
.resume = sec_resume, .resume = sec_resume,
}; };
#endif
#else #else
# define bfin_gpio_set_wake NULL # define bfin_gpio_set_wake NULL
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册