Re: [PATCH 2.6.26-rc] ACPI Thermal Zone driver breaks lm-sensors2 userspace

From: Rene Herman
Date: Wed Jun 25 2008 - 19:38:21 EST


On 26-06-08 01:16, Len Brown wrote:

+config THERMAL_HWMON
+ bool "Hardware monitoring support"
+ depends on HWMON=y || HWMON=THERMAL


for
CONFIG_HWMON=m
CONFIG_THERMAL=y
CONFIG_THERMAL_HWMON=n, always.

This is not a change to the logic of the existing ifdefs,
but was wondering if this was your intent, Rui.

My intentioon in this case. Yes, this should be. THERMAL_HWMON is a bool (as in, not a tristate) that just changes THERMAL.

If THERMAL=y, we need HWMON=y or we'd get a link failure. If THERMAL=m, we're okay with either HWMON=y and HWMON=m and if THERMAL=n, we don't care one hoot about THERMAL_HWMON...

Rene.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/