mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 01:46:45 +07:00
ARM: shmobile: Use __init for APMU suspend init function
The function shmobile_smp_apmu_suspend_init() should be put into the init section to not trigger section mismatch warnings. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
784500be40
commit
0d77c9aa7a
@ -240,7 +240,7 @@ static int shmobile_smp_apmu_enter_suspend(suspend_state_t state)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void shmobile_smp_apmu_suspend_init(void)
|
||||
void __init shmobile_smp_apmu_suspend_init(void)
|
||||
{
|
||||
shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user