diff options
author | Peilin Ye <yepeilin.cs@gmail.com> | 2020-11-12 07:14:21 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-11-16 16:31:58 +0100 |
commit | 4497364e5f61f9e8d4a6252bc6deb9597d68bbac (patch) | |
tree | 48f878e419d0b849899600d35899b2c71f4ab9ab /net/kcm/Kconfig | |
parent | 4ee573086bd88ff3060dda07873bf755d332e9ba (diff) |
parisc/sticore: Avoid hard-coding built-in font charcount
sti_select_fbfont() and sti_cook_fonts() are hard-coding the number of
characters of our built-in fonts as 256. Recently, we included that
information in our kernel font descriptor `struct font_desc`, so use
`fbfont->charcount` instead of hard-coded values.
Depends on patch "Fonts: Add charcount field to font_desc".
Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/037186fb50cf3d17bb7bc9482357635b9df6076e.1605169912.git.yepeilin.cs@gmail.com
Diffstat (limited to 'net/kcm/Kconfig')
0 files changed, 0 insertions, 0 deletions