Skip to content

Commit

Permalink
arm64: cpuidle: add __init section marker to arm_cpuidle_init
Browse files Browse the repository at this point in the history
It is not needed after booting, this patch moves the arm_cpuidle_init()
function to the __init section.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
  • Loading branch information
Jisheng Zhang authored and Catalin Marinas committed Jul 2, 2015
1 parent fd28f5d commit ea389da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/kernel/cpuidle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ea389da

Please sign in to comment.