diff options
| author | Anson Huang <[email protected]> | 2020-03-03 16:04:43 +0800 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2020-03-12 11:56:53 +0100 |
| commit | 15a26319c41962b7cf87603bc51d667f43d2ca67 (patch) | |
| tree | f15006cb6d14c8c0036295c162895a255ee0c45b /drivers/mtd/lpddr/lpddr_cmds.c | |
| parent | b009514f9786e50578c52eeef6d2020f84630773 (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 <[email protected]>
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions