summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/int340x_thermal
diff options
context:
space:
mode:
authorLad, Prabhakar <prabhakar.csengg@gmail.com>2015-02-05 14:43:37 +0100
committerZhang Rui <rui.zhang@intel.com>2015-02-06 09:28:06 +0100
commit4aa971bb2fbf05a7b05f590a209aab88d638cd9d (patch)
tree1dd58f7cbf8fa8a66da065db478f64a8cc2a6ebc /drivers/thermal/int340x_thermal
parentMerge branches 'intel-dts-soc-thermal' and 'int340x-enhancement' of .git into... (diff)
downloadlinux-4aa971bb2fbf05a7b05f590a209aab88d638cd9d.tar.xz
linux-4aa971bb2fbf05a7b05f590a209aab88d638cd9d.zip
thermal: int340x: fix sparse warning
this patch fixes following sparse warning: processor_thermal_device.c:188:6: warning: symbol 'proc_thermal_remove' was not declared. Should it be static? Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/int340x_thermal')
-rw-r--r--drivers/thermal/int340x_thermal/processor_thermal_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/int340x_thermal/processor_thermal_device.c b/drivers/thermal/int340x_thermal/processor_thermal_device.c
index 7c3848da2df0..5e8d8e91ea6d 100644
--- a/drivers/thermal/int340x_thermal/processor_thermal_device.c
+++ b/drivers/thermal/int340x_thermal/processor_thermal_device.c
@@ -274,7 +274,7 @@ free_buffer:
return ret;
}
-void proc_thermal_remove(struct proc_thermal_device *proc_priv)
+static void proc_thermal_remove(struct proc_thermal_device *proc_priv)
{
int340x_thermal_zone_remove(proc_priv->int340x_zone);
sysfs_remove_group(&proc_priv->dev->kobj,