2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00
linux-next/drivers/video/geode
Randy Dunlap 3535ed3fa7 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 <randy.dunlap@oracle.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2011-06-24 17:00:31 +09:00
..
display_gx1.c
display_gx1.h
display_gx.c cs5535: define lxfb/gxfb MSRs in linux/cs5535.h 2009-12-15 08:53:28 -08:00
geodefb.h
gx1fb_core.c gx1fb: Fix section mismatch warnings 2011-06-24 17:00:31 +09:00
gxfb_core.c console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
gxfb.h cs5535: define lxfb/gxfb MSRs in linux/cs5535.h 2009-12-15 08:53:28 -08:00
Kconfig gxfb: replace FBSIZE config option with a module parameter 2008-04-28 08:58:36 -07:00
lxfb_core.c console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
lxfb_ops.c lxfb: Maintain video processor palette through suspend/resume 2010-12-01 18:18:56 +09:00
lxfb.h Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile gxfb: add power management functionality 2008-04-28 08:58:36 -07:00
suspend_gx.c cs5535: define lxfb/gxfb MSRs in linux/cs5535.h 2009-12-15 08:53:28 -08:00
video_cs5530.c
video_cs5530.h
video_gx.c cs5535: define lxfb/gxfb MSRs in linux/cs5535.h 2009-12-15 08:53:28 -08:00