aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-03-03 16:04:43 +0800
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-03-12 11:56:53 +0100
commit15a26319c41962b7cf87603bc51d667f43d2ca67 (patch)
treef15006cb6d14c8c0036295c162895a255ee0c45b /tools/perf/scripts/python/exported-sql-viewer.py
parentb009514f9786e50578c52eeef6d2020f84630773 (diff)
thermal: Fix build warning of !defined(CONFIG_THERMAL_OF)
Add "inline" to thermal_zone_of_get_sensor_id() function to avoid below build warning of !defined(CONFIG_THERMAL_OF). In file included from drivers/hwmon/hwmon.c:22: include/linux/thermal.h:382:12: warning: 'thermal_zone_of_get_sensor_id' defined but not used [-Wunused-function] 382 | static int thermal_zone_of_get_sensor_id(struct device_node *tz_np, Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/1583222684-10229-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions