Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3375a43f authored by Steven Miao's avatar Steven Miao Committed by Bob Liu
Browse files

cleanup: sec and linkport only built on bf60x



Signed-off-by: default avatarSteven Miao <realmz6@gmail.com>
Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent ba4691a4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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