diff options
| author | Chen Gang <[email protected]> | 2013-09-02 07:54:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2013-09-26 15:44:40 +0000 |
| commit | d396034aa860e7aaade347a535e831a4307037d3 (patch) | |
| tree | a2d07aeb1644068856f6998af64b41e078790e99 /drivers/misc/ibmasm/module.c | |
| parent | mei: mei_cl_unlink: no need to loop over dev list (diff) | |
| download | kernel-d396034aa860e7aaade347a535e831a4307037d3.tar.gz kernel-d396034aa860e7aaade347a535e831a4307037d3.zip | |
drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()
bmp085_get_of_properties() is called by bmp085_init_client() which is
called by bmp085_probe() which is an EXPORT_SYMBOL_GPL function.
bmp085_probe() is really used as a probe function by another modules
(e.g. bmp085-i2c.c, bmp085-spi.c).
Except bmp085_get_of_properties(), all functions have no '__init', so
need remove '__init' from bmp085_get_of_properties() too, or at least,
it will report related warning:
WARNING: vmlinux.o(.text+0x4c8a07): Section mismatch in reference from the variable .LM171 to the variable .init.text:_bmp085_get_of_properties
The function .LM171() references
the variable __init _bmp085_get_of_properties.
This is often because .LM171 lacks a __init
annotation or the annotation of _bmp085_get_of_properties is wrong.
Signed-off-by: Chen Gang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
0 files changed, 0 insertions, 0 deletions
