hwmon: add support for THMC50 and ADM1022
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / coretemp.c
index 6d54c8caed79a05ebe7ad887aed935ac41101755..7c1795225b06587def9fae2bd370641ff29a5731 100644 (file)
@@ -318,7 +318,7 @@ exit:
 }
 
 #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);