WSL2-Linux-Kernel/drivers/video/console
Sam Ravnborg 353076fee8 [VIDEO]: Fix section mismatch warning in promcon.
Fix the following warnings in promcon:
WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x480): Section mismatch: reference to .init.data:promfont_unitable (between 'promcon_init_unimap' and 'promcon_init')
WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x488): Section mismatch: reference to .init.data:promfont_unitable (between 'promcon_init_unimap' and 'promcon_init')
WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x48c): Section mismatch: reference to .init.data:promfont_unicount (between 'promcon_init_unimap' and 'promcon_init')
WARNING: o-sparc64/drivers/video/console/built-in.o(.text+0x490): Section mismatch: reference to .init.data:promfont_unicount (between 'promcon_init_unimap' and 'promcon_init')

The warnings happens because the function: promcon_init_unimap()
references promfont_unitable and promfont_unicount which are marked
__initdata by the conmakehash command in the drivers/video/console/Makefile

Fix the warning by removing the __initdata marker on the two variables.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-06-04 23:52:45 -07:00
..
Kconfig VIDEO: remove archaic if[] construct from Kconfig file 2007-05-11 08:29:37 -07:00
Makefile [VIDEO]: Fix section mismatch warning in promcon. 2007-06-04 23:52:45 -07:00
bitblit.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dummycon.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
fbcon.c fbcon: check console-fb mapping in fbcon_get_requirement 2007-05-08 11:15:33 -07:00
fbcon.h fbdev: Move declaration of fb_class to <linux/fb.h> 2007-06-01 08:18:28 -07:00
fbcon_ccw.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
fbcon_cw.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
fbcon_rotate.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fbcon_rotate.h [PATCH] fbcon: Code cleanups 2006-01-10 08:01:51 -08:00
fbcon_ud.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
font_6x11.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c fbcon: font setting should check limitation of driver 2007-05-08 11:15:31 -07:00
mdacon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
newport_con.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
prom.uni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
promcon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
softcursor.c fix file specification in comments 2007-05-09 08:58:16 +02:00
sticon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
sticore.c fbcon: font setting should check limitation of driver 2007-05-08 11:15:31 -07:00
tileblit.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
vgacon.c Refine SCREEN_INFO sanity check for vgacon initialization 2007-05-17 05:23:04 -07:00