X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fthermal%2Fthermal_sys.c;h=fe07462d5947fec44a4eb559a552670e84744a08;hb=e86322f611eef95aafaf726fd3965e5b211f1985;hp=6098787341f3d6ada67a195b7ee59d307b6a9c34;hpb=2c4aabcca847ac4c92aa5e960c3f6053e1051b62;p=linux-2.6 diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 6098787341..fe07462d59 100644 --- a/drivers/thermal/thermal_sys.c +++ b/drivers/thermal/thermal_sys.c @@ -295,8 +295,8 @@ thermal_cooling_device_trip_point_show(struct device *dev, /* Device management */ -#if defined(CONFIG_HWMON) || \ - (defined(CONFIG_HWMON_MODULE) && defined(CONFIG_THERMAL_MODULE)) +#if defined(CONFIG_THERMAL_HWMON) + /* hwmon sys I/F */ #include static LIST_HEAD(thermal_hwmon_list);