Skip to content

Commit

Permalink
thermal: int340x: fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lad, Prabhakar authored and Zhang Rui committed Feb 6, 2015
1 parent 8cb6850 commit 4aa971b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/thermal/int340x_thermal/processor_thermal_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ static int proc_thermal_add(struct device *dev,
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,
Expand Down

0 comments on commit 4aa971b

Please sign in to comment.