android_kernel_xiaomi_sm8350/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
..
bitblit.c
dummycon.c
fbcon_ccw.c
fbcon_cw.c
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c
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
font_6x11.c
font_7x14.c
font_8x8.c
font_8x16.c
font_10x18.c
font_acorn_8x8.c
font_mini_4x6.c
font_pearl_8x8.c
font_sun8x16.c
font_sun12x22.c
fonts.c fbcon: font setting should check limitation of driver 2007-05-08 11:15:31 -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
mdacon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
newport_con.c
prom.uni
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
vgacon.c Refine SCREEN_INFO sanity check for vgacon initialization 2007-05-17 05:23:04 -07:00