summaryrefslogtreecommitdiffstats
path: root/drivers/video/console
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2014-01-31 15:39:40 +0100
committerHelge Deller <deller@gmx.de>2014-02-02 20:56:47 +0100
commit8a10bc9d27ceb084b0d8be621a033a475eb9fdfd (patch)
tree82f4a7f84bb52f5e82e4a5154ba0d317581c9762 /drivers/video/console
parent602456bf169926d331246de9cc5593b962cea0dc (diff)
parisc/sti_console: prefer Linux fonts over built-in ROM fonts
The built-in ROM fonts lack many necessary ASCII characters, which is why it makes sens to prefer the Linux fonts instead if they are available. This makes consoles on STI graphics cards which are not supported by the stifb driver (e.g. Visualize FXe) looks much nicer. Signed-off-by: Helge Deller <deller@gmx.de> Cc: stable@vger.kernel.org # v3.13
Diffstat (limited to 'drivers/video/console')
-rw-r--r--drivers/video/console/sticore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/sticore.c b/drivers/video/console/sticore.c
index 4ad24f2c647..cecd3de01c2 100644
--- a/drivers/video/console/sticore.c
+++ b/drivers/video/console/sticore.c
@@ -488,7 +488,7 @@ static int sti_init_glob_cfg(struct sti_struct *sti, unsigned long rom_address,
return 0;
}
-#ifdef CONFIG_FONTS
+#ifdef CONFIG_FONT_SUPPORT
static struct sti_cooked_font *
sti_select_fbfont(struct sti_cooked_rom *cooked_rom, const char *fbfont_name)
{