Skip to content

Commit

Permalink
make coretemp_device_remove() static
Browse files Browse the repository at this point in the history
coretemp_device_remove() can become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
  • Loading branch information
Adrian Bunk authored and Mark M. Hoffman committed Jul 19, 2007
1 parent e46957e commit d2bc7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/coretemp.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ static int __cpuinit coretemp_device_add(unsigned int cpu)
}

#ifdef CONFIG_HOTPLUG_CPU
void coretemp_device_remove(unsigned int cpu)
static void coretemp_device_remove(unsigned int cpu)
{
struct pdev_entry *p, *n;
mutex_lock(&pdev_list_mutex);
Expand Down

0 comments on commit d2bc7b1

Please sign in to comment.