diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/include/asm/cpuidle.h | 4 | ||||
-rw-r--r-- | arch/arm64/kernel/cpuidle.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/cpuidle.h b/arch/arm64/include/asm/cpuidle.h index 460a38bb84b9..141b2fcabaa6 100644 --- a/arch/arm64/include/asm/cpuidle.h +++ b/arch/arm64/include/asm/cpuidle.h | |||
@@ -4,10 +4,10 @@ | |||
4 | #include <asm/proc-fns.h> | 4 | #include <asm/proc-fns.h> |
5 | 5 | ||
6 | #ifdef CONFIG_CPU_IDLE | 6 | #ifdef CONFIG_CPU_IDLE |
7 | extern int cpu_init_idle(unsigned int cpu); | 7 | extern int arm_cpuidle_init(unsigned int cpu); |
8 | extern int cpu_suspend(unsigned long arg); | 8 | extern int cpu_suspend(unsigned long arg); |
9 | #else | 9 | #else |
10 | static inline int cpu_init_idle(unsigned int cpu) | 10 | static inline int arm_cpuidle_init(unsigned int cpu) |
11 | { | 11 | { |
12 | return -EOPNOTSUPP; | 12 | return -EOPNOTSUPP; |
13 | } | 13 | } |
diff --git a/arch/arm64/kernel/cpuidle.c b/arch/arm64/kernel/cpuidle.c index 5c0896647fd1..a78143a5c99f 100644 --- a/arch/arm64/kernel/cpuidle.c +++ b/arch/arm64/kernel/cpuidle.c | |||
@@ -15,7 +15,7 @@ | |||
15 | #include <asm/cpuidle.h> | 15 | #include <asm/cpuidle.h> |
16 | #include <asm/cpu_ops.h> | 16 | #include <asm/cpu_ops.h> |
17 | 17 | ||
18 | int cpu_init_idle(unsigned int cpu) | 18 | int arm_cpuidle_init(unsigned int cpu) |
19 | { | 19 | { |
20 | int ret = -EOPNOTSUPP; | 20 | int ret = -EOPNOTSUPP; |
21 | struct device_node *cpu_node = of_cpu_device_node_get(cpu); | 21 | struct device_node *cpu_node = of_cpu_device_node_get(cpu); |