summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83627ehf.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-11-06 20:25:18 +0100
committerJean Delvare <khali@endymion.delvare>2011-11-06 20:25:18 +0100
commit2aba6cac2a84f3b80e11a680c34d55e7739b474d (patch)
tree9dda2cd4be097035d67864516c05696a41503c2f /drivers/hwmon/w83627ehf.c
parentc861cd3e92d92ae946e19099f198018fcb4fd887 (diff)
downloadop-kernel-dev-2aba6cac2a84f3b80e11a680c34d55e7739b474d.zip
op-kernel-dev-2aba6cac2a84f3b80e11a680c34d55e7739b474d.tar.gz
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 <khali@linux-fr.org> Tested-by: Phil Sutter <phil@nwl.cc> Cc: stable@kernel.org Acked-by: Durgadoss R <Durgadoss.r@intel.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud