diff options
author | Steven Miao <realmz6@gmail.com> | 2012-06-15 00:59:19 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-07-24 01:39:51 -0400 |
commit | 3375a43f97504218d848c26ff75da6d160c94120 (patch) | |
tree | 658e50852705bb08683373723ddaa8b89f6330be /arch/blackfin | |
parent | ba4691a4f4ae66b3266751065af0a341e63b5105 (diff) |
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')
-rw-r--r-- | arch/blackfin/mach-common/ints-priority.c | 2 |
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) | |||
1138 | } | 1138 | } |
1139 | } | 1139 | } |
1140 | 1140 | ||
1141 | #ifdef CONFIG_BF60x | ||
1141 | static int sec_suspend(void) | 1142 | static int sec_suspend(void) |
1142 | { | 1143 | { |
1143 | u32 bank; | 1144 | u32 bank; |
@@ -1164,6 +1165,7 @@ static struct syscore_ops sec_pm_syscore_ops = { | |||
1164 | .suspend = sec_suspend, | 1165 | .suspend = sec_suspend, |
1165 | .resume = sec_resume, | 1166 | .resume = sec_resume, |
1166 | }; | 1167 | }; |
1168 | #endif | ||
1167 | #else | 1169 | #else |
1168 | # define bfin_gpio_set_wake NULL | 1170 | # define bfin_gpio_set_wake NULL |
1169 | #endif | 1171 | #endif |