kernel_optimize_test/drivers/hwmon
Sam Ravnborg ba7c1927aa 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>
2008-02-17 11:26:55 -05:00
..
ams
abituguru.c
abituguru3.c
ad7418.c
adm1021.c
adm1025.c
adm1026.c hwmon: (adm1026) Properly terminate sysfs groups 2008-02-17 09:27:19 -05:00
adm1029.c
adm1031.c
adm9240.c
ads7828.c
adt7470.c
applesmc.c
asb100.c
atxp1.c
coretemp.c hwmon: (coretemp) fix section mismatch warning 2008-02-17 11:26:55 -05:00
dme1737.c
ds1621.c
f71805f.c
f71882fg.c
f75375s.c
fscher.c
fschmd.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmpex.c
it87.c
k8temp.c
Kconfig
lm63.c
lm70.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
lm93.c
Makefile
max1619.c
max6650.c
pc87360.c
pc87427.c
sis5595.c
smsc47b397.c
smsc47m1.c hwmon: (smsc47m1) Add individual alarm files 2008-02-17 09:27:18 -05:00
smsc47m192.c
thmc50.c
via686a.c hwmon: (via686a) Add individual alarm files 2008-02-17 09:27:18 -05:00
vt1211.c
vt8231.c hwmon: (vt8231) Update maintainer email address 2008-02-17 09:27:19 -05:00
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c
w83781d.c
w83791d.c
w83792d.c
w83793.c