X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=drivers%2Fthermal%2Fthermal_hwmon.h;h=a160b9d62dd0a1bc66147375d52bfce309a1024b;hb=39a38bcba4ab6e5285b07675b0e42c96eec35e67;hp=019f6f88224e951a65bb0cfb58baf7c9a19855e4;hpb=3eb66e91a25497065c5322b1268cbc3953642227;p=linux.git diff --git a/drivers/thermal/thermal_hwmon.h b/drivers/thermal/thermal_hwmon.h index 019f6f88224e..a160b9d62dd0 100644 --- a/drivers/thermal/thermal_hwmon.h +++ b/drivers/thermal/thermal_hwmon.h @@ -19,13 +19,13 @@ 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) { }