Skip to content

Commit

Permalink
cleanup: sec and linkport only built on bf60x
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Miao <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
  • Loading branch information
realmz authored and aet00 committed Jul 24, 2012
1 parent ba4691a commit 3375a43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/blackfin/mach-common/ints-priority.c
Original file line number Diff line number Diff line change
Expand Up @@ -1138,6 +1138,7 @@ void bfin_pint_resume(void)
}
}

#ifdef CONFIG_BF60x
static int sec_suspend(void)
{
u32 bank;
Expand All @@ -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
Expand Down

0 comments on commit 3375a43

Please sign in to comment.