summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-common
diff options
context:
space:
mode:
authorSteven Miao <realmz6@gmail.com>2012-06-15 06:59:19 +0200
committerBob Liu <lliubbo@gmail.com>2012-07-24 07:39:51 +0200
commit3375a43f97504218d848c26ff75da6d160c94120 (patch)
tree658e50852705bb08683373723ddaa8b89f6330be /arch/blackfin/mach-common
parentbfin: pint: add pint suspend and resume (diff)
downloadlinux-3375a43f97504218d848c26ff75da6d160c94120.tar.xz
linux-3375a43f97504218d848c26ff75da6d160c94120.zip
cleanup: sec and linkport only built on bf60x
Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-common')
-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 1aac5ebaace4..c4b94c42db83 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