diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-07-26 20:08:14 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-07-26 20:08:14 +0200 |
commit | 3852cc3343b658275964112984321134f3de0118 (patch) | |
tree | 8a96cf8b5dddd10353e2358827a6383cfcb4c847 /drivers/video/pmag-ba-fb.c | |
parent | VIDEO. gbefb: Fix section mismatches. (diff) | |
download | linux-3852cc3343b658275964112984321134f3de0118.tar.xz linux-3852cc3343b658275964112984321134f3de0118.zip |
NET: declance: Fix section mismatches
WARNING: drivers/net/built-in.o(.data+0x24): Section mismatch in reference from
the variable dec_lance_tc_driver to the function .init.text:dec_lance_tc_probe()
The variable dec_lance_tc_driver references
the function __init dec_lance_tc_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,
Fixing this one results in a new mismatch:
WARNING: drivers/net/built-in.o(.devinit.text+0x14): Section mismatch in reference from the function dec_lance_tc_probe() to the function .init.text:dec_lance_probe()
The function __devinit dec_lance_tc_probe() references
a function __init dec_lance_probe().
If dec_lance_probe is only used by dec_lance_tc_probe then
annotate dec_lance_probe with a matching annotation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/video/pmag-ba-fb.c')
0 files changed, 0 insertions, 0 deletions