summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2006-11-20 17:45:02 (GMT)
committerPaul Mackerras <paulus@samba.org>2006-12-04 09:39:52 (GMT)
commit0021550c0199b2bf5e434eda0216144074537fc7 (patch)
tree0f8f1a23dcc9da321dec476ae4f037e863bc1be7 /arch
parent17f88cebc2c3aff9d90f0d49f6e0628835eddc32 (diff)
downloadlinux-fsl-qoriq-0021550c0199b2bf5e434eda0216144074537fc7.tar.xz
[POWERPC] spufs: Replace spu.nid with spu.node
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spu_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c
index d5aeb3c..56ff8b3 100644
--- a/arch/powerpc/platforms/cell/spu_base.c
+++ b/arch/powerpc/platforms/cell/spu_base.c
@@ -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);
}