From: David S. Miller Date: Mon, 19 Jan 2009 06:42:15 +0000 (-0800) Subject: sparc64: Initialize FHC/CLOCK LED platform_device 'id' field correctly. X-Git-Tag: v2.6.29-rc3~24^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c18c1b2636ecb9ad76759f99dac6efd441fa92;p=pandora-kernel.git 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 Tested-by: Meelis Roos Signed-off-by: David S. Miller --- Reading git-diff-tree failed