aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/applesmc.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-02-17 07:22:51 -0500
committerMark M. Hoffman <mhoffman@lightlink.com>2008-02-17 11:26:55 -0500
commitba7c1927aa69c4dfe1ecf646f03b306e49dc8e37 (patch)
tree4a5847a80a19336548a1dca0ce754d9c5afb9592 /drivers/hwmon/applesmc.c
parent6369a2887a1b35fde91573adc650528e3efea8e9 (diff)
hwmon: (coretemp) fix section mismatch warning
Fix following warning: WARNING: vmlinux.o(.text+0xebfd04): Section mismatch in reference from the function coretemp_cpu_callback() to the function .cpuinit.text:coretemp_device_add() coretemp_cpu_callback() are only used inside a HOTPLUG_CPU block so annotate it __cpuinit. The notifier referencing the function are annotated __refdata to silence warning from the exit function. The unregister function do not use the embedded pointer but clears the variable so the annotation is OK. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
0 files changed, 0 insertions, 0 deletions