aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/cell/spufs/inode.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-11-20 22:56:37 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-04 04:40:17 -0500
commit9309180f11f0107c9858a61a1ac2b04518a91080 (patch)
tree626a5250c1d337788b2b6a2a051897b06b71483f /arch/powerpc/platforms/cell/spufs/inode.c
parent974a76f51355d22f4f63d83d6bb1ccecd019ec58 (diff)
[POWERPC] powerpc: Workaround for of_platform without "reg" nor "dcr-reg"
Devices with no "reg" nor "dcr-reg" property are given a bus_id which is the node name alone. This means that if more than one such device with the same names are present in the system, sysfs will have collisions when creating the symlinks and will fail registering the devices. This works around that problem by assigning successive numbers to such devices. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/cell/spufs/inode.c')
0 files changed, 0 insertions, 0 deletions