mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 07:16:56 +07:00
3535ed3fa7
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> |
||
---|---|---|
.. | ||
display_gx1.c | ||
display_gx1.h | ||
display_gx.c | ||
geodefb.h | ||
gx1fb_core.c | ||
gxfb_core.c | ||
gxfb.h | ||
Kconfig | ||
lxfb_core.c | ||
lxfb_ops.c | ||
lxfb.h | ||
Makefile | ||
suspend_gx.c | ||
video_cs5530.c | ||
video_cs5530.h | ||
video_gx.c |