diff options
author | Jan Beulich <jbeulich@novell.com> | 2010-09-24 07:31:10 +0200 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2010-10-25 23:11:19 +0200 |
commit | a5f42a6bc51454137b918f67310168c27d1dd1de (patch) | |
tree | 4715dd8a2aae7f1345dcf8d8f16153a5bb8eacc5 /drivers/hwmon/pkgtemp.c | |
parent | Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
download | linux-a5f42a6bc51454137b918f67310168c27d1dd1de.tar.xz linux-a5f42a6bc51454137b918f67310168c27d1dd1de.zip |
x86/hwmon: {core, pkg, via}cpu_temp_device_remove() can all be __cpuinit
... as they're being called only from a __cpuinit function.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/pkgtemp.c')
-rw-r--r-- | drivers/hwmon/pkgtemp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pkgtemp.c b/drivers/hwmon/pkgtemp.c index f11903936c8b..db5352c20946 100644 --- a/drivers/hwmon/pkgtemp.c +++ b/drivers/hwmon/pkgtemp.c @@ -340,7 +340,7 @@ exit: } #ifdef CONFIG_HOTPLUG_CPU -static void pkgtemp_device_remove(unsigned int cpu) +static void __cpuinit pkgtemp_device_remove(unsigned int cpu) { struct pdev_entry *p; unsigned int i; |