diff options
author | Major Lee <major_lee@wistron.com> | 2011-04-04 10:32:12 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-04 15:21:07 (GMT) |
commit | b3b896c73b4b04b506816a09994192e3a54f0fef (patch) | |
tree | efb4fcb35a165dda7456f4ae8d72b3c53d903ff0 /drivers/misc/ad525x_dpot-spi.c | |
parent | 78fca1b95837a44983608302e89c7258981be9b3 (diff) | |
download | linux-fsl-qoriq-b3b896c73b4b04b506816a09994192e3a54f0fef.tar.xz |
rtc-mrst: Fix section types
Fix the following section mismatch warning.
WARNING: drivers/rtc/built-in.o(.data+0xa0): Section mismatch in reference from the variable vrtc_mrst_platform_driver to the function .init.text:vrtc_mrst_platform_probe()
The variable vrtc_mrst_platform_driver references the function __init vrtc_mrst_platform_probe()
If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
Signed-off-by: Major Lee <major_lee@wistron.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
0 files changed, 0 insertions, 0 deletions