]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/thermal/thermal_hwmon.h
rbd: cancel lock_dwork if the wait is interrupted
[linux.git] / drivers / thermal / thermal_hwmon.h
index 019f6f88224e951a65bb0cfb58baf7c9a19855e4..a160b9d62dd0a1bc66147375d52bfce309a1024b 100644 (file)
 int thermal_add_hwmon_sysfs(struct thermal_zone_device *tz);
 void thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz);
 #else
-static int
+static inline int
 thermal_add_hwmon_sysfs(struct thermal_zone_device *tz)
 {
        return 0;
 }
 
-static void
+static inline void
 thermal_remove_hwmon_sysfs(struct thermal_zone_device *tz)
 {
 }