浏览代码

cleanup: sec and linkport only built on bf60x

Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Steven Miao 13 年之前
父节点
当前提交
3375a43f97
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/blackfin/mach-common/ints-priority.c

+ 2 - 0
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