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

Commit ea389daa authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Catalin Marinas
Browse files

arm64: cpuidle: add __init section marker to arm_cpuidle_init



It is not needed after booting, this patch moves the arm_cpuidle_init()
function to the __init section.

Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent fd28f5d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
#include <asm/cpuidle.h>
#include <asm/cpu_ops.h>

int arm_cpuidle_init(unsigned int cpu)
int __init arm_cpuidle_init(unsigned int cpu)
{
	int ret = -EOPNOTSUPP;