diff options
Diffstat (limited to 'drivers/base/cpu.c')
-rw-r--r-- | drivers/base/cpu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/base/cpu.c b/drivers/base/cpu.c index fb456b729803..9121c77b77fa 100644 --- a/drivers/base/cpu.c +++ b/drivers/base/cpu.c | |||
@@ -79,13 +79,17 @@ void unregister_cpu(struct cpu *cpu) | |||
79 | } | 79 | } |
80 | 80 | ||
81 | #ifdef CONFIG_ARCH_CPU_PROBE_RELEASE | 81 | #ifdef CONFIG_ARCH_CPU_PROBE_RELEASE |
82 | static ssize_t cpu_probe_store(struct class *class, const char *buf, | 82 | static ssize_t cpu_probe_store(struct class *class, |
83 | struct class_attribute *attr, | ||
84 | const char *buf, | ||
83 | size_t count) | 85 | size_t count) |
84 | { | 86 | { |
85 | return arch_cpu_probe(buf, count); | 87 | return arch_cpu_probe(buf, count); |
86 | } | 88 | } |
87 | 89 | ||
88 | static ssize_t cpu_release_store(struct class *class, const char *buf, | 90 | static ssize_t cpu_release_store(struct class *class, |
91 | struct class_attribute *attr, | ||
92 | const char *buf, | ||
89 | size_t count) | 93 | size_t count) |
90 | { | 94 | { |
91 | return arch_cpu_release(buf, count); | 95 | return arch_cpu_release(buf, count); |