diff options
| author | Randy Dunlap <[email protected]> | 2011-06-16 19:31:19 +0000 |
|---|---|---|
| committer | Paul Mundt <[email protected]> | 2011-06-24 08:00:31 +0000 |
| commit | 3535ed3fa7a87244410696880000e03bc224315d (patch) | |
| tree | 4939250bcc0e494d6cd7c1a5ed91aef9a89d4e26 /net/lapb/lapb_iface.c | |
| parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sha... (diff) | |
| download | kernel-3535ed3fa7a87244410696880000e03bc224315d.tar.gz kernel-3535ed3fa7a87244410696880000e03bc224315d.zip | |
gx1fb: Fix section mismatch warnings
Fix a chain of section mismatches in geode driver, beginning with:
WARNING: drivers/video/geode/gx1fb.o(.data+0x70): Section mismatch in reference from the variable gx1fb_driver to the function .init.text:gx1fb_probe()
The variable gx1fb_driver references
the function __init gx1fb_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
Making the changes that Paul pointed out resulted in a few more
changes being needed, so they are all included here.
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
