diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-07-26 20:08:15 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-07-26 20:08:15 +0200 |
commit | 362992b19e7cc583f0f1987b6a6f0b3ae3b021fd (patch) | |
tree | bcafd9aef3042a15e5f9b27fbb35eaf89027d7a3 /sound | |
parent | VIDEO: PMAGB-B: Fix section mismatch (diff) | |
download | linux-362992b19e7cc583f0f1987b6a6f0b3ae3b021fd.tar.xz linux-362992b19e7cc583f0f1987b6a6f0b3ae3b021fd.zip |
VIDEO: Au1100fb: Fix section mismatch
WARNING: drivers/video/built-in.o(.data+0x360): Section mismatch in reference from the variable au1100fb_driver to the function .init.text:au1100fb_drv_probe()
The variable au1100fb_driver references
the function __init au1100fb_drv_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 which triggers of a slew of further mismatches:
WARNING: drivers/video/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function au1100fb_drv_probe() to the variable .init.data:au1100fb_fix
The function __devinit au1100fb_drv_probe() references
a variable __initdata au1100fb_fix.
If au1100fb_fix is only used by au1100fb_drv_probe then
annotate au1100fb_fix with a matching annotation.
WARNING: drivers/video/built-in.o(.devinit.text+0x21c): Section mismatch in reference from the function au1100fb_drv_probe() to the variable .init.data:au1100fb_var
The function __devinit au1100fb_drv_probe() references
a variable __initdata au1100fb_var.
If au1100fb_var is only used by au1100fb_drv_probe then
annotate au1100fb_var with a matching annotation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions