From: Jean Delvare Date: Sun, 6 Nov 2011 19:25:18 +0000 (+0100) Subject: hwmon: (coretemp) Fix for non-SMP builds X-Git-Tag: v3.2-rc1~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aba6cac2a84f3b80e11a680c34d55e7739b474d;p=pandora-kernel.git hwmon: (coretemp) Fix for non-SMP builds The definition of TO_ATTR_NO in the non-SMP case is wrong. As the SMP definition resolves to the correct value, just use this for both cases. Without this fix the temperature attributes are named temp0_* instead of temp2_*, so libsensors won't pick them. Broken since kernel 3.0. Signed-off-by: Jean Delvare Tested-by: Phil Sutter Cc: stable@kernel.org Acked-by: Durgadoss R Acked-by: Guenter Roeck --- Reading git-diff-tree failed