Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0021550c authored by Geoff Levand's avatar Geoff Levand Committed by Paul Mackerras
Browse files

[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: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 17f88ceb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}