aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
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 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
843static void spu_destroy_sysdev(struct spu *spu) 843static 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