[POWERPC] spufs: Replace spu.nid with spu.node
authorGeoff Levand <geoffrey.levand@am.sony.com>
Mon, 20 Nov 2006 17:45:02 +0000 (18:45 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:39:52 +0000 (20:39 +1100)
Replace the use of the platform specific variable spu.nid with the
platform independednt variable spu.node.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spu_base.c

index d5aeb3c..56ff8b3 100644 (file)
@@ -835,14 +835,14 @@ static int spu_create_sysdev(struct spu *spu)
                return ret;
        }
 
-       sysfs_add_device_to_node(&spu->sysdev, spu->nid);
+       sysfs_add_device_to_node(&spu->sysdev, spu->node);
 
        return 0;
 }
 
 static void spu_destroy_sysdev(struct spu *spu)
 {
-       sysfs_remove_device_from_node(&spu->sysdev, spu->nid);
+       sysfs_remove_device_from_node(&spu->sysdev, spu->node);
        sysdev_unregister(&spu->sysdev);
 }