]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
cleanup: sec and linkport only built on bf60x
authorSteven Miao <realmz6@gmail.com>
Fri, 15 Jun 2012 04:59:19 +0000 (12:59 +0800)
committerBob Liu <lliubbo@gmail.com>
Tue, 24 Jul 2012 05:39:51 +0000 (13:39 +0800)
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
arch/blackfin/mach-common/ints-priority.c

index 1aac5ebaace43c2fc8373d4c5391fc895628c19e..c4b94c42db83909a30a7d1d35de4ed141b2317a2 100644 (file)
@@ -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