summaryrefslogtreecommitdiff
path: root/drivers/thermal/thermal_hwmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/thermal_hwmon.h')
-rw-r--r--drivers/thermal/thermal_hwmon.h4
1 files changed, 2 insertions, 2 deletions
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)
{
}