summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common/ints-priority.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/blackfin/mach-common/ints-priority.c')
-rw-r--r--arch/blackfin/mach-common/ints-priority.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 1aac5eb..c4b94c4 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -1138,6 +1138,7 @@ void bfin_pint_resume(void)
}
}
+#ifdef CONFIG_BF60x
static int sec_suspend(void)
{
u32 bank;
@@ -1164,6 +1165,7 @@ static struct syscore_ops sec_pm_syscore_ops = {
.suspend = sec_suspend,
.resume = sec_resume,
};
+#endif
#else
# define bfin_gpio_set_wake NULL
#endif
OpenPOWER on IntegriCloud