1
0
Fork 0
alistair23-linux/drivers/video/console
Peilin Ye eebe368570 fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h
commit bb0890b4cd upstream.

drivers/video/console/newport_con.c is borrowing FONT_EXTRA_WORDS macros
from drivers/video/fbdev/core/fbcon.h. To keep things simple, move all
definitions into <linux/font.h>.

Since newport_con now uses four extra words, initialize the fourth word in
newport_set_font() properly.

Cc: stable@vger.kernel.org
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/7fb8bc9b0abc676ada6b7ac0e0bd443499357267.1600953813.git.yepeilin.cs@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-14 10:32:56 +02:00
..
Kconfig vgacon: remove software scrollback support 2020-09-17 13:47:54 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dummycon.c dummycon: Sprinkle locking checks 2019-06-12 20:26:55 +02:00
mdacon.c mdacon: replace MDA_ADDR macro by inline function 2017-06-14 17:40:56 +02:00
newport_con.c fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h 2020-10-14 10:32:56 +02:00
sticon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
sticore.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
vgacon.c vgacon: remove software scrollback support 2020-09-17 13:47:54 +02:00