summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-03-09 17:14:50 +0300
committerHelge Deller <deller@gmx.de>2026-03-09 17:47:20 +0300
commite2e000a0b22036a72474088d3399097ff47ace02 (patch)
treea6aba65c71c1591c07c1173afe8523204301a039 /include/linux
parent04bd5abc8cbebc1bd7e02471a8e3af51b8aad029 (diff)
downloadlinux-e2e000a0b22036a72474088d3399097ff47ace02.tar.xz
lib/fonts: Read font size with font_data_size()
Add font_data_size() and update consoles to use it. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/font.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/font.h b/include/linux/font.h
index 746a0996a018..5b8557813c5c 100644
--- a/include/linux/font.h
+++ b/include/linux/font.h
@@ -54,6 +54,8 @@ static inline const unsigned char *font_data_buf(font_data_t *fd)
return (const unsigned char *)fd;
}
+unsigned int font_data_size(font_data_t *fd);
+
/*
* Font description
*/