[SPARC64]: Fix of_device bus_id settings.
commit4b75eb2bd30707c1af76145fd3a4ec2d890e1870
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 5 Oct 2006 09:07:32 +0000 (5 02:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 10 Oct 2006 00:24:52 +0000 (9 17:24 -0700)
tree8297f3968f759788a8cb2e385dfb6e24ae18a6c4
parent99ae1c83b5107cd91e45d4d3c7bf096cdff0cf06
[SPARC64]: Fix of_device bus_id settings.

They have to be unique system-wide, so use
"NAME@NODE" as the string pattern of the non-root
nodes.

Thanks to Andrew Morton for fixing the error value
checking in bus_add_device() which made this problem
finally noticable.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/of_device.c