diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2006-11-20 12:45:02 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 04:39:52 -0500 |
commit | 0021550c0199b2bf5e434eda0216144074537fc7 (patch) | |
tree | 0f8f1a23dcc9da321dec476ae4f037e863bc1be7 /arch/powerpc/platforms/cell | |
parent | 17f88cebc2c3aff9d90f0d49f6e0628835eddc32 (diff) |
[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/powerpc/platforms/cell')
-rw-r--r-- | arch/powerpc/platforms/cell/spu_base.c | 4 |
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 d5aeb3c6dd45..56ff8b36103d 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) | |||
835 | return ret; | 835 | return ret; |
836 | } | 836 | } |
837 | 837 | ||
838 | sysfs_add_device_to_node(&spu->sysdev, spu->nid); | 838 | sysfs_add_device_to_node(&spu->sysdev, spu->node); |
839 | 839 | ||
840 | return 0; | 840 | return 0; |
841 | } | 841 | } |
842 | 842 | ||
843 | static void spu_destroy_sysdev(struct spu *spu) | 843 | static void spu_destroy_sysdev(struct spu *spu) |
844 | { | 844 | { |
845 | sysfs_remove_device_from_node(&spu->sysdev, spu->nid); | 845 | sysfs_remove_device_from_node(&spu->sysdev, spu->node); |
846 | sysdev_unregister(&spu->sysdev); | 846 | sysdev_unregister(&spu->sysdev); |
847 | } | 847 | } |
848 | 848 | ||