mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
cleanup: sec and linkport only built on bf60x
Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
ba4691a4f4
commit
3375a43f97
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||||
.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
|
||||||
|
|
Loading…
Reference in a new issue