X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Fthermal%2Fthermal_hwmon.h;fp=drivers%2Fthermal%2Fthermal_hwmon.h;h=b429f6e7abdb27bb70966014b0f5d1d35b32d252;hb=4a16c190f761cb3a87dcbbf355f91c71ce1f8c0b;hp=1a9d65f6a6a8b1bdb15a6a9e19880cbc099417ed;hpb=8f3f4ad4ad45e2e30c814de42629ef4c9688e92c;p=linux-2.6-microblaze.git diff --git a/drivers/thermal/thermal_hwmon.h b/drivers/thermal/thermal_hwmon.h index 1a9d65f6a6a8..b429f6e7abdb 100644 --- a/drivers/thermal/thermal_hwmon.h +++ b/drivers/thermal/thermal_hwmon.h @@ -17,7 +17,7 @@ #ifdef CONFIG_THERMAL_HWMON int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz); -int devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz); +int devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz); void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz); #else static inline int @@ -27,7 +27,7 @@ thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) } static inline int -devm_thermal_add_hwmon_sysfs(struct thermal_zone_device *tz) +devm_thermal_add_hwmon_sysfs(struct device *dev, struct thermal_zone_device *tz) { return 0; }