]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/sysfs.c
powerpc: Fallout from sysdev API changes
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / sysfs.c
index aba0ba95f0629cf320df4c006a38923d805f0aa8..800e5e9a087bf1c6d73aefde583876736fe32045 100644 (file)
@@ -529,7 +529,8 @@ static void register_nodes(void)
 #endif
 
 /* Only valid if CPU is present. */
-static ssize_t show_physical_id(struct sys_device *dev, char *buf)
+static ssize_t show_physical_id(struct sys_device *dev,
+                               struct sysdev_attribute *attr, char *buf)
 {
        struct cpu *cpu = container_of(dev, struct cpu, sysdev);