commit | b7c18c1b2636ecb9ad76759f99dac6efd441fa92 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Jan 18 22:42:15 2009 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 19 13:27:15 2009 -0800 |
tree | 10035a07cdcb5efee1d1b4a3371af2fea117cd64 | |
parent | 62dfcd336c79c49f9aeb0acc99cf9a1832102dd5 [diff] |
sparc64: Initialize FHC/CLOCK LED platform_device 'id' field correctly. 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>