]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/base/cpu.c
driver-core: Add attribute argument to class_attribute show/store
[net-next-2.6.git] / drivers / base / cpu.c
index fb456b72980360ec85cc2264d8637f8e5aeafa0c..9121c77b77fae3a5d4c70f942dc67a3e65290edf 100644 (file)
@@ -79,13 +79,17 @@ void unregister_cpu(struct cpu *cpu)
 }
 
 #ifdef CONFIG_ARCH_CPU_PROBE_RELEASE
-static ssize_t cpu_probe_store(struct class *class, const char *buf,
+static ssize_t cpu_probe_store(struct class *class,
+                               struct class_attribute *attr,
+                               const char *buf,
                               size_t count)
 {
        return arch_cpu_probe(buf, count);
 }
 
-static ssize_t cpu_release_store(struct class *class, const char *buf,
+static ssize_t cpu_release_store(struct class *class,
+                               struct class_attribute *attr,
+                               const char *buf,
                                 size_t count)
 {
        return arch_cpu_release(buf, count);