sparc64: Initialize FHC/CLOCK LED platform_device 'id' field correctly.
authorDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2009 06:42:15 +0000 (22:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jan 2009 21:27:15 +0000 (13:27 -0800)
There is only one clock board, so use -1 as the 'id' so we get just
the base name as the LED device name string.

There are multiple FHC boards potentially in a system so use the board
number as the 'id' value for that case.

Reported-by: Meelis Roos <mroos@linux.ee>
Tested-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found