X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=drivers%2Fthermal%2Fthermal_sys.c;h=fe07462d5947fec44a4eb559a552670e84744a08;hb=ae5d82cb8d600989338bbda5ea38f5c0ff47175a;hp=6098787341f3d6ada67a195b7ee59d307b6a9c34;hpb=2a5f2e3e6cd1ce9fb3f8b186b6bc9aa1f1497a92;p=linux-2.6-omap-h63xx.git diff --git a/drivers/thermal/thermal_sys.c b/drivers/thermal/thermal_sys.c index 6098787341f..fe07462d594 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);